# Target Controlled Infusion (TCI)

## Documentation for package ‘tci’ version 0.2.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

apply_tci | Apply a TCI algorithm to a 'pkmod' object
assign_pars | Set default PK parameter values Set default PK parameter values for a pkmod object.
bayes_update | Update PK-PD model parameters using observed data values
clc | Simulate closed-loop control
eleveld_pd | Eleveld et al. pharmacodynamic data
eleveld_pk | Eleveld et al. pharmacokinetic data
elvdlpars | Get logged parameters updated in Eleveld model
emax | Emax function
emax_eleveld | Emax function for Eleveld (2018) model.
emax_inv | Inverse Emax function
emax_inv_eleveld | Inverse Emax function
emax_inv_remi | Inverse Emax function implemented by Eleveld remifentanil model
emax_remi | Emax function implemented by Eleveld remifentanil model
format_pars | Format parameters for use in Rcpp functions Order parameters for 1-4 compartment models to be used in Rcpp functions in predict_pkmod method.
infer_pkfn | Identify pkfn from parameter names
inf_manual | infusion schedule
inf_tci | Target-controlled infusion
init_pkmod | Create an object with class "pkmod"
init_poppkmod | Initialize a 'poppkmod' object.
list_parnms | Identify pkfn from parameter names
list_pkmods | Print population PK models available in 'tci'
log_likelihood | Evaluate the log likelihood of a vector of parameter values
log_posterior_neg | Evaluate the negative log posterior value of a parameter vector
log_prior | Calculate logged-prior probability for a set of parameters
olc | Simulate open-loop control
pkmod | Create a pkmod object
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
pkmod_eleveld_ppf | Eleveld population PK model for propofol
pkmod_eleveld_remi | Eleveld population PK model for remifentanil
pkmod_kim | Kim population PK model for remifentanil
pkmod_marsh | --- Population PK and PK-PD functions -- --- Marsh population PK model for propofol
pkmod_minto | Minto population PK model for remifentanil
pkmod_schnider | Schnider population PK model for propofol
plot.sim_tci | Plot method for sim_tci class
poppkmod | Implement a population pharmacokinetic/pharmacodynamic model.
predict.pkmod | Predict method for pkmod objects
predict.poppkmod | Predict method for pkmod objects
print.pkmod | Print pkmod
print.poppkmod | Print poppkmod
print.sim_tci | Print method for sim_tci class
sample_iiv | Sample PK or PK-PD parameters from the distribution of inter- or intra-individual variability
sample_pkmod | Sample parameters from a 'pkmod' object
simulate.pkmod | Simulate method for pkmod objects
simulate.poppkmod | Summary method for 'poppkmod' objects
simulate_clc | Simulate closed-loop control using Bayesian updates
simulate_olc | Simulate open-loop control using TCI
simulate_tci | Simulate open- or closed-loop control
tci_documentation | tci_documentation
tci_effect | Effect-site TCI algorithm with plasma targeting within small range of target
tci_effect_only | TCI algorithm for effect-site targeting
tci_plasma | TCI algorithm for plasma targeting
update.pkmod | Update method for pkmod
validate_pkmod | pkmod validation checks
validate_poppkmod | Perform validation checks on a 'poppkmod' object