Learn R Programming

pharmr (version 1.4.0)

get_covariate_baselines: get_covariate_baselines

Description

Return a dataframe with baselines of all covariates for each id.

Baseline is taken to be the first row even if that has a missing value.

Usage

get_covariate_baselines(model)

Value

(data.frame) covariate baselines

Arguments

model

(Model) Pharmpy model

See Also

get_baselines : baselines for all data columns

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
model <- set_covariates(model, c("WGT", "APGR"))
get_covariate_baselines(model)
}

Run the code above in your browser using DataLab