update.pkmod {tci}R 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)

[Package tci version 0.2.0 Index]