apply_poppk |
Apply a population PK model to a data frame |
apply_targetfn |
#' Sigmoid target function #' #' @param lpars Logged parameter values #' @param tms Times to evaluate sigmoid function #' @param bis0 BIS value with no drug administered #' @param ... Arguments passed on to 'restrict_sigmoid' function #' @return Returns numeric vector of BIS values corresponding to an Emax sigmoidal #' target function with parameter bis0. #' @export sigmoid_targetfn <- function(lpars, tms, bis0 = 93, ...) emax(tms, restrict_sigmoid(t50 = exp(lpars), BIS0 = bis0, ...)) Apply target function to a PK-PD model |
assign_pars |
Set default PK parameter values Set default PK parameter values for a pkmod object. |
bayes_control |
Bayesian closed-loop control |
cl_targets |
Closed-loop targets |
cl_updates |
Closed-loop updates |
combine_sim |
Combine simulation outputs |
create_intvl |
dosing schedule Create dosing schedule |
eleveld_pd |
Eleveld et al. pharmacodynamic data |
eleveld_pk |
Eleveld et al. pharmacokinetic data |
eleveld_poppk |
Eleveld population PK model |
eleveld_vcov |
Generate variance-covariance matrix for Eleveld PK-PD model |
elvdlpars |
Get logged parameters updated in Eleveld model |
emax |
Emax function |
emax_eleveld |
Emax function for Eleveld (2018) model. |
gen_data |
Function to simulate data from a specified PK or PK-PD model with a specified infusion schedule. |
inv_emax |
Inverse Emax function |
inv_emax_eleveld |
Inverse Emax function |
log_likelihood |
Evaluate log-likelihood |
log_posterior_neg |
Function to evaluate the negative log posterior given a set of logged parameter values and observed BIS values. |
log_prior |
Calculate logged prior value |
marsh_poppk |
Marsh population PK model. |
pal |
Color palate for tci plotting functions |
pkmod1cpt |
One compartment IV infusion with first-order elimination. |
pkmod2cpt |
Two compartment IV infusion with first-order elimination. |
pkmod3cpt |
Three compartment IV infusion with first-order elimination. |
pkmod3cptm |
Solution to three-compartment IV model with effect-site |
plot.bayessim |
Plot object with class 'pkmod' |
plot.datasim |
Plot object with class 'pkmod' |
plot.pdmod |
Plot object with class 'pkmod' |
plot.pkmod |
Plot object with class 'pkmod' |
plot.tciinf |
Plot object with class 'pkmod' |
predict.pkmod |
Predict concentrations from a pkmod object |
restrict_sigmoid |
Restrict target sigmoid values |
schnider_poppk |
Schnider population PK model |
seqby |
Sequence including bounds |
tail_vec |
Extract last element or column |
tci |
Apply TCI algorithm |
tci_comb |
Effect-site TCI algorithm with plasma targeting within small range of target |
tci_effect |
TCI algorithm for effect-site targeting |
tci_pd |
Function to extend TCI grid to a set of PD targets |
tci_plasma |
TCI algorithm for plasma targeting |