Learn R Programming

saemix (version 3.3)

createSaemixObject: 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())

Value

an object of class "SaemixObject".

Arguments

model

an saemixModel object

data

an saemixData object

control

a list of options (if empty, will be set to the default values by saemixControl)

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)

Examples

Run this code
# TODO

Run the code above in your browser using DataLab