Learn R Programming

saemix (version 3.3)

replaceData: 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)

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).

Arguments

saemixObject

an SaemixObject object

newdata

a dataframe containing data

Examples

Run this code
# TODO

Run the code above in your browser using DataLab