cholesky_decompose: cholesky_decompose

View source: R/functions_wrapper.R

cholesky_decomposeR Documentation

cholesky_decompose

Description

Cholesky decomposition of joint normally distributed random variables

Usage

cholesky_decompose(model, rvs = NULL)

Arguments

model

(Model) Pharmpy model

rvs

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

Value

(Model) An updated Pharmpy model

Examples

## Not run: 
model <- load_example_model("pheno")
model <- create_joint_distribution(model, c('ETA_CL', 'ETA_VC'))
model <- cholesky_decompose(model)
model$statements

## End(Not run)


pharmr documentation built on May 28, 2026, 5:08 p.m.