createSaemixObject {saemix} | R Documentation |
Create saemix objects with only data filled in
Description
Create saemix objects either with empty results or with parameters set by the user. This is an internal function used as a preliminary step to obtain predictions for new data and is not intended to be used directly.
Usage
createSaemixObject.empty(model, data, control = list())
Arguments
model |
an saemixModel object |
data |
an saemixData object |
control |
a list of options (if empty, will be set to the default values by |
Details
with createSaemixObject.empty, the data component is set to the data object, the model component is set to the model object, and the result component is empty
with createSaemixObject.initial, the data and model are set as with createSaemixObject.empty, but the population parameter estimates are used to initialise the result component as in the initialisation step of the algorithm (initialiseMainAlgo)
Value
an object of class "SaemixObject"
.
Examples
# TODO