Learn R Programming

tci (version 0.2.0)

sample_pkmod: Sample parameters from a `pkmod` object

Description

Sample parameters from a `pkmod` object

Usage

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

Value

`pkmod` object with updated parameters.

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

Examples

Run this code
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))

Run the code above in your browser using DataLab