Learn R Programming

pharmr (version 2.2.0)

cholesky_decompose: cholesky_decompose

Description

Cholesky decomposition of joint normally distributed random variables

Usage

cholesky_decompose(model, rvs = NULL)

Value

(Model) An updated Pharmpy model

Arguments

model

(Model) Pharmpy model

rvs

(array(str) (optional)) Names of random variables to decompose. NULL means all etas and is the default

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
model <- create_joint_distribution(model, c('ETA_CL', 'ETA_VC'))
model <- cholesky_decompose(model)
model$statements
}

Run the code above in your browser using DataLab