getCovariateData (pkdata)

Create design matrix needed for fit

Syntax

CovData = getCovariateData(PKDataObj)

Description

CovData = getCovariateData(PKDataObj) creates CovData, a dataset array containing only the covariate data from the data set in PKDataObj, a PKData object. CovData contains one row for each individual and one column for each covariate.

    Tip   Use the getCovariateData method to view the covariate data when writing equations for the Expression property of a CovariateModel object.

Was this topic helpful?