update.pkmod: Update method for pkmod

View source: R/methods.R

update.pkmodR Documentation

Update method for pkmod

Description

Update parameters or initial values of a pkmod object

Usage

## S3 method for class 'pkmod'
update(object, ...)

Arguments

object

Object with class pkmod

...

Updated values passed to object.

Value

Returns the pkmod object with elements replaced

Examples

# initial pkmod object
(my_mod <- pkmod(pars_pk = c(CL = 10, V1 = 10)))
# update a subset of parameters and initial values
update(my_mod, pars_pk = c(CL = 20, V1 = 2), init = 3, sigma_add = 1, log_response = TRUE)

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