sample_pkmod: Sample parameters from a 'pkmod' object

View source: R/poppk_mods.R

sample_pkmodR Documentation

Sample parameters from a 'pkmod' object

Description

Sample parameters from a 'pkmod' object

Usage

sample_pkmod(pkmod, log_normal = TRUE, ...)

Arguments

pkmod

'pkmod' object with associated Omega matrix describing random effect variances

log_normal

Logical. Assumes random effects are log-normally distributed and multiplicative if TRUE, additive and normally distributed if FALSE.

...

Arguments passed to update.pkmod

Value

'pkmod' object with updated parameters.

Examples

sample_pkmod(pkmod_schnider(AGE = 40,HGT=170,TBW=50,MALE=TRUE))
sample_pkmod(pkmod_eleveld_ppf(AGE = 40,TBW = 56,HGT=150,MALE = TRUE, PD = FALSE))

tci documentation built on Aug. 15, 2022, 9:09 a.m.