update.pkm: Update method for PK model

View source: R/update.pkm.R

update.pkmR Documentation

Update method for PK model

Description

Update method for PK model

Usage

## S3 method for class 'pkm'
update(object, formula = NULL, newdat = NULL, newivt = NULL, ...)

Arguments

object

An object of class "pkm

formula

A formula where the left side is the measured concentration of drug and the right side is the times of concentration measurements

newdat

Data frame with concentration data (time of measurement in hours and concentration in mcg/ml)

newivt

List with containing start of infusion times, end of infusion times, and rate of infusion at each dose for which predictions will be obtained

...

other params

Details

Update a fitted PK model with either new infusion information, new obseved concentration data, or both.

Value

Updated PK model


hlweeks/pkpredict documentation built on Oct. 29, 2023, 6:08 a.m.