Package: tci 0.2.1

tci: Target Controlled Infusion (TCI)

Implementation of target-controlled infusion algorithms for compartmental pharmacokinetic and pharmacokinetic-pharmacodynamic models. Jacobs (1990) <doi:10.1109/10.43622>; Marsh et al. (1991) <doi:10.1093/bja/67.1.41>; Shafer and Gregg (1993) <doi:10.1007/BF01070999>; Schnider et al. (1998) <doi:10.1097/00000542-199805000-00006>; Abuhelwa, Foster, and Upton (2015) <doi:10.1016/j.vascn.2015.03.004>; Eleveld et al. (2018) <doi:10.1016/j.bja.2018.01.018>.

Authors:Ryan Jarrett [aut, cre]

tci_0.2.1.tar.gz
tci_0.2.1.zip(r-4.5)tci_0.2.1.zip(r-4.4)tci_0.2.1.zip(r-4.3)
tci_0.2.1.tgz(r-4.4-x86_64)tci_0.2.1.tgz(r-4.4-arm64)tci_0.2.1.tgz(r-4.3-x86_64)tci_0.2.1.tgz(r-4.3-arm64)
tci_0.2.1.tar.gz(r-4.5-noble)tci_0.2.1.tar.gz(r-4.4-noble)
tci_0.2.1.tgz(r-4.4-emscripten)tci_0.2.1.tgz(r-4.3-emscripten)
tci.pdf |tci.html
tci/json (API)

# Install 'tci' in R:
install.packages('tci', repos = c('https://jarretrt.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/jarretrt/tci/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:

On CRAN:

46 exports 5 stars 1.11 score 44 dependencies 8 scripts 256 downloads

Last updated 2 years agofrom:23fb6a721a. Checks:ERROR: 9. Indexed: yes.

TargetResultDate
Doc / VignettesFAILAug 23 2024
R-4.5-win-x86_64ERRORAug 23 2024
R-4.5-linux-x86_64ERRORAug 23 2024
R-4.4-win-x86_64ERRORAug 23 2024
R-4.4-mac-x86_64ERRORAug 23 2024
R-4.4-mac-aarch64ERRORAug 23 2024
R-4.3-win-x86_64ERRORAug 23 2024
R-4.3-mac-x86_64ERRORAug 23 2024
R-4.3-mac-aarch64ERRORAug 23 2024

Exports:apply_tciassign_parsbayes_updateclcelvdlparsemaxemax_eleveldemax_invemax_inv_eleveldemax_inv_remiemax_remiformat_parsinf_manualinf_tciinf_tci_popinfer_pkfninit_pkmodinit_poppkmodlist_parnmslist_pkmodslog_likelihoodlog_posterior_neglog_priorolcpkmodpkmod_eleveld_ppfpkmod_eleveld_remipkmod_kimpkmod_marshpkmod_mintopkmod_schniderpkmod1cptpkmod2cptpkmod3cptpkmod3cptmpoppkmodsample_iivsample_pkmodsimulate_clcsimulate_olcsimulate_tcitci_effecttci_effect_onlytci_plasmavalidate_pkmodvalidate_poppkmod

Dependencies:clicolorspaceevaluatefansifarverggplot2gluegridExtragtablehighrisobandknitrlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellmvtnormnlmepillarpkgconfigplyrR6RColorBrewerRcppRcppArmadilloreshapereshape2rlangscalesstringistringrtibbletruncnormutf8vctrsviridisLitewithrxfunxtableyaml

Readme and manuals

Help Manual

Help pageTopics
Apply a TCI algorithm to a `pkmod` objectapply_tci
Set default PK parameter values Set default PK parameter values for a pkmod object.assign_pars
Update PK-PD model parameters using observed data valuesbayes_update
Simulate closed-loop controlclc
Eleveld et al. pharmacodynamic dataeleveld_pd
Eleveld et al. pharmacokinetic dataeleveld_pk
Get logged parameters updated in Eleveld modelelvdlpars
Emax functionemax
Emax function for Eleveld (2018) model.emax_eleveld
Inverse Emax functionemax_inv
Inverse Emax functionemax_inv_eleveld
Inverse Emax function implemented by Eleveld remifentanil modelemax_inv_remi
Emax function implemented by Eleveld remifentanil modelemax_remi
Format parameters for use in Rcpp functionsformat_pars
infusion scheduleinf_manual
Target-controlled infusioninf_tci
Calculate infusion rates to reach target values within a populationinf_tci_pop
Identify pkfn from parameter namesinfer_pkfn
Create an object with class "pkmod"init_pkmod
Initialize a `poppkmod` object.init_poppkmod
Identify pkfn from parameter nameslist_parnms
Print population PK models available in `tci`list_pkmods
Evaluate the log likelihood of a vector of parameter valueslog_likelihood
Evaluate the negative log posterior value of a parameter vectorlog_posterior_neg
Calculate logged-prior probability for a set of parameterslog_prior
Simulate open-loop contrololc
Create a pkmod objectpkmod
Eleveld population PK model for propofolpkmod_eleveld_ppf
Eleveld population PK model for remifentanilpkmod_eleveld_remi
Kim population PK model for remifentanilpkmod_kim
-------------------------- Population PK and PK-PD functions --------------- -------------------------- Marsh population PK model for propofolpkmod_marsh
Minto population PK model for remifentanilpkmod_minto
Schnider population PK model for propofolpkmod_schnider
One compartment IV infusion with first-order elimination.pkmod1cpt
Two compartment IV infusion with first-order elimination.pkmod2cpt
Three compartment IV infusion with first-order elimination.pkmod3cpt
Solution to three-compartment IV model with effect-sitepkmod3cptm
Plot method for sim_tci classplot.sim_tci
Implement a population pharmacokinetic/pharmacodynamic model.poppkmod
Predict method for pkmod objectspredict.pkmod
Predict method for pkmod objectspredict.poppkmod
Print pkmodprint.pkmod
Print poppkmodprint.poppkmod
Print method for sim_tci classprint.sim_tci
Sample PK or PK-PD parameters from the distribution of inter- or intra-individual variabilitysample_iiv
Sample parameters from a `pkmod` objectsample_pkmod
Simulate closed-loop control using Bayesian updatessimulate_clc
Simulate open-loop control using TCIsimulate_olc
Simulate open- or closed-loop controlsimulate_tci
Simulate method for pkmod objectssimulate.pkmod
Summary method for `poppkmod` objectssimulate.poppkmod
tci_documentationtci_documentation
Effect-site TCI algorithm with plasma targeting within small range of targettci_effect
TCI algorithm for effect-site targetingtci_effect_only
TCI algorithm for plasma targetingtci_plasma
Update method for pkmodupdate.pkmod
pkmod validation checksvalidate_pkmod
Perform validation checks on a `poppkmod` objectvalidate_poppkmod