replaceData {saemix}R Documentation

Replace the data element in an SaemixObject object

Description

Returns an SaemixObject object where the data object has been replaced by the data provided in a dataframe

Usage

replaceData.saemixObject(saemixObject, newdata)

Arguments

saemixObject

an SaemixObject object

newdata

a dataframe containing data

Value

an object of class "SaemixObject". The population parameters are retained but all the predictions, individual parameters and statistical criteria are removed. The function attempts to extract the elements entering the statistical model (subject id, predictors, covariates and response).

Examples

# TODO

[Package saemix version 3.3 Index]