Class definition (slots), constructors, accessors, replacement (when relevant) and common methods.

submodel(object, ...)

# S4 method for missing
submodel(object, ...)

# S4 method for submodel
params(object)

sMod(object, ...)

# S4 method for submodel
sMod(object)

# S4 method for submodel
iter(obj, it)

# S4 method for submodel
propagate(object, iter, fill.iter = TRUE)

# S4 method for submodel
formula(x)

Arguments

object

object of relevant class (see signature of method)

...

additional argument list that might never be used

obj

the object to be subset

it

iteration to be extracted

iter

the number of iterations to create

fill.iter

should the new iterations be filled with values (TRUE) or NAs (FALSE)

x

the submodel object that is to be modified

Slot

Mod

formula describing the model

params

FLPar with model parameters

vcov

array with variance covariance paramaters related to the variance model

centering

numeric value used for centering the data

distr

a character with the parameters' statistical distribution; it must match a known distribution for R (e.g. "norm" for gaussian) so that rnorm can be called

Accessors

All slots in the class have accessor and replacement methods defined that allow retrieving and substituting individual slots.

The values passed for replacement need to be of the class of that slot. A numeric vector can also be used when replacing FLQuant slots, and the vector will be used to substitute the values in the slot, but not its other attributes.

Constructor

A construction method exists for this class that can take named arguments for any of its slots. All slots are then created to match the requirements of the class validity. If an unnamed FLQuant object is provided, this is used for sizing, but not for populating any slot.