Learn R Programming

tci (version 0.1.2)

cl_updates: Closed-loop updates

Description

Set parameters for closed-loop updates.

Usage

cl_updates(time, full_data = TRUE, plot_progress = FALSE)

Value

data.frame with columns "time", "full_data", and "plot_progress".

Arguments

time

Times at which PK or PK-PD parameters should be updated

full_data

Vector of logical values indicating if all data should be used at update or only data since last update. Once first "FALSE" value is observed, the prior variance- covariance matrix is overwritten. Consequently, any "TRUE" updates will only use data since the last "FALSE" update.

plot_progress

Vector of logical values. Should values be plotted at each update?