Learn R Programming

tci (version 0.2.0)

update.pkmod: Update method for pkmod

Description

Update parameters or initial values of a pkmod object

Usage

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

Value

Returns the pkmod object with elements replaced

Arguments

object

Object with class pkmod

...

Updated values passed to object.

Examples

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

Run the code above in your browser using DataLab