Main Content

getCovariateData (pkdata)

Create design matrix needed for fit


CovData = getCovariateData(PKDataObj)


CovData = getCovariateData(PKDataObj) creates CovData, a dataset (Statistics and Machine Learning Toolbox) 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.


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

Version History

Introduced in R2011b