This is an intermediate class that was created to make both bayesnecfit and bayesmanecfit objects lighter to handle. It contains the original brmsfit fitted object, name of non-linear model that was fitted, the list of initialisation values applied, and the validated bayesnecformula.

Details

See methods(class = "prebayesnecfit") for an overview of available methods.

Slots

fit

The fitted Bayesian model of class brmsfit.

model

A character string indicating the name of the fitted model.

init

A list containing the initialisation values for to fit the model.

bayesnecformula

An object of class bayesnecformula and formula.

call_args

A list of the arguments of the fitting call that amend reuses for an added model: model_survival, and the control and seed passed to brm. Each is NULL where the call did not supply it. It also holds the prior_type, asymptote_observed and predictor_scale the default priors were built with, which bnec_joint reuses. On older fits this element is absent until update.bnecfit or amend records the recoverable settings. The three prior arguments remain absent where they were not recorded when fitting.

retained_data

An optional data.frame containing columns retained by bnec for plotting. This element is present on a recovered object when the fitted object contained retained columns.