Package: clinPK 0.13.0

Ron Keizer

clinPK: Clinical Pharmacokinetics Toolkit

Provides equations commonly used in clinical pharmacokinetics and clinical pharmacology, such as equations for dose individualization, compartmental pharmacokinetics, drug exposure, anthropomorphic calculations, clinical chemistry, and conversion of common clinical parameters. Where possible and relevant, it provides multiple published and peer-reviewed equations within the respective R function.

Authors:Ron Keizer [aut, cre], Jasmine Hughes [aut], Dominic Tong [aut], Kara Woo [aut], InsightRX [cph, fnd]

clinPK_0.13.0.tar.gz
clinPK_0.13.0.zip(r-4.5)clinPK_0.13.0.zip(r-4.4)clinPK_0.13.0.zip(r-4.3)
clinPK_0.13.0.tgz(r-4.4-any)clinPK_0.13.0.tgz(r-4.3-any)
clinPK_0.13.0.tar.gz(r-4.5-noble)clinPK_0.13.0.tar.gz(r-4.4-noble)
clinPK_0.13.0.tgz(r-4.4-emscripten)clinPK_0.13.0.tgz(r-4.3-emscripten)
clinPK.pdf |clinPK.html
clinPK/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/insightrx/clinpk/issues

On CRAN:

clinical-researchpharmacokinetics

6.54 score 26 stars 55 scripts 310 downloads 82 exports 0 dependencies

Last updated 1 months agofrom:b81e0ee72e. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 17 2024
R-4.5-winOKNov 17 2024
R-4.5-linuxOKNov 17 2024
R-4.4-winOKNov 17 2024
R-4.4-macOKNov 17 2024
R-4.3-winOKNov 17 2024
R-4.3-macOKNov 17 2024

Exports:%<=%absolute2relative_bsaaccumulation_ratioadd_ruvauc2dosecalc_abwcalc_aki_stagecalc_amts_for_conccalc_baseline_scrcalc_bmicalc_bsacalc_carboplatin_calvertcalc_creatcalc_creat_neocalc_dosing_weightcalc_egfrcalc_egfr_cystatincalc_ffmcalc_ibwcalc_kel_double_tdmcalc_kel_single_tdmcalc_kgfrcalc_lbwcalc_neutropenia_gradecalc_t12check_covs_availablecm2inchconc2molconvert_albumin_unitconvert_bilirubin_unitconvert_creat_assayconvert_creat_unitconvert_flow_unitdose2aucegfr_cov_reqsfind_nearest_dosefind_nearest_intervalfraction_of_ssinch2cmkg2lbskg2ozlbs2kgmol2concncaoz2kgpct_bmi_for_agepct_height_for_agepct_weight_for_agepk_1cmt_boluspk_1cmt_bolus_cmax_sspk_1cmt_bolus_cmin_sspk_1cmt_bolus_dose_from_cmaxpk_1cmt_bolus_dose_from_cminpk_1cmt_bolus_sspk_1cmt_infpk_1cmt_inf_cmax_sspk_1cmt_inf_cmin_sspk_1cmt_inf_dose_for_rangepk_1cmt_inf_dose_from_cmaxpk_1cmt_inf_dose_from_cminpk_1cmt_inf_sspk_1cmt_oralpk_1cmt_t12pk_2cmt_boluspk_2cmt_bolus_cmax_sspk_2cmt_bolus_cmin_sspk_2cmt_bolus_dose_from_cmaxpk_2cmt_bolus_dose_from_cminpk_2cmt_bolus_sspk_2cmt_infpk_2cmt_inf_cmax_sspk_2cmt_inf_cmin_sspk_2cmt_inf_dose_from_cmaxpk_2cmt_inf_dose_from_cminpk_2cmt_inf_sspk_2cmt_t12pk_2cmt_t12_intervalread_who_tablerelative2absolute_bsatime_to_ssvalid_unitsweight2kg

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Convert quantity expressed in absolute units relative to normalized BSAabsolute2relative_bsa
Calculate accumulation ratio This is the ratio of drug concentration or AUC at steady state over concentrations after single doseaccumulation_ratio
Add residual variability to dataadd_ruv
Convert AUCtau or AUCt to dose (for 1-compartment linear PK model)auc2dose
Calculate adjusted body weight (ABW)calc_abw
Calculate AKI stagecalc_aki_stage
Calculate the amounts in all compartments in a compartmental PK system based on a given concentration in the central compartment, and assuming steady state.calc_amts_for_conc
Calculate baseline sCrcalc_baseline_scr
Calculate BMIcalc_bmi
Calculate body surface areacalc_bsa
Calvert equation for carboplatincalc_carboplatin_calvert
Estimate serum creatininecalc_creat
Estimate serum creatinine in neonatescalc_creat_neo
Calculate commonly used "dosing weight"calc_dosing_weight
Calculate eGFRcalc_egfr
Calculate eGFR based on Cystatin C measurementscalc_egfr_cystatin
Calculate fat-free masscalc_ffm
Calculate ideal body weight in kg for children and adultscalc_ibw ibw_devine ibw_standard
Calculate elimination rate when given two TDM samplescalc_kel_double_tdm
Calculate elimination rate when given a single TDM samplecalc_kel_single_tdm
Calculate kinetic GFRcalc_kgfr
Calculate lean body weightcalc_lbw
Calculate neutropenia grade from ANCcalc_neutropenia_grade
Calculate half-life based on two pointscalc_t12
Checks whether required covariates for eGFR calculations are presentcheck_covs_available
Convert cm to inchcm2inch
Convert concentration to molarconc2mol
Convert albumin from / to unitsconvert_albumin_unit
Convert bilirubin from / to unitsconvert_bilirubin_unit
Convert serum creatinine from various assays to Jaffeconvert_creat_assay
Convert creatinine to different unitconvert_creat_unit
Convert flow (e.g. clearance) from / to unitsconvert_flow_unit
Convert dose to expected AUCinf or AUCt for 1 compartment linear PK modeldose2auc
Returns parameters needed to calculate eGFR according to the method specified.egfr_cov_reqs
Generic function to calculate the dose nearest to a specific dose unit incrementfind_nearest_dose
Generic function to calculate the interval nearest to a possible dosing intervalfind_nearest_interval
Calculate fraction of steady state at particular time after start of dosingfraction_of_ss
Convert inch to cminch2cm
Convert kg to lbskg2lbs
Convert kg to ozkg2oz
Convert lbs to kglbs2kg
Convert molar to concentrationmol2conc
Perform an NCA based on a NONMEM-style datasetnca
Convert oz to kgoz2kg
Percentile BMI for age for childrenpct_bmi_for_age
Percentile height for age for childrenpct_height_for_age
Percentile weight for age for childrenpct_weight_for_age
Concentration predictions for 1-compartmental PK model after single or multiple bolus dosespk_1cmt_bolus
Cmax for linear 1-compartment PK model at steady state, bolus dosingpk_1cmt_bolus_cmax_ss
Cmin (trough) for linear 1-compartment PK model at steady state, bolus dosingpk_1cmt_bolus_cmin_ss
Calculate dose to achieve steady state Cmax for 1-compartmental PK model bolus dosing at steady statepk_1cmt_bolus_dose_from_cmax
Calculate dose to achieve steady state trough for 1-compartmental PK model bolus dosing at steady statepk_1cmt_bolus_dose_from_cmin
Concentration predictions for 1-compartmental PK model with bolus dosing at steady statepk_1cmt_bolus_ss
Concentration predictions for 1-compartmental PK model after single or multiple bolus dosespk_1cmt_inf
Cmax for linear 1-compartment PK model at steady statepk_1cmt_inf_cmax_ss
Cmin (trough) for linear 1-compartment PK model at steady statepk_1cmt_inf_cmin_ss
Calculate dose based on a given AUC24, Cmax, and Cmin, assuming 1-compartment modelpk_1cmt_inf_dose_for_range
Calculate dose to achieve steady state Cmax for 1-compartmental PK model with infusion dosing at steady statepk_1cmt_inf_dose_from_cmax
Calculate dose to achieve steady state trough for 1-compartmental PK model with infusion dosing at steady statepk_1cmt_inf_dose_from_cmin
Concentration predictions for 2-compartmental PK model with infusion dosing at steady statepk_1cmt_inf_ss
Concentration predictions for 1-compartmental oral PK model after single or multiple bolus dosespk_1cmt_oral
Calculate terminal half-life for 1-compartment modelpk_1cmt_t12
Concentration predictions for 2-compartmental PK model, single or multiple bolus dosespk_2cmt_bolus
Cmax for 2-compartmental PK model, bolus dosing at steady statepk_2cmt_bolus_cmax_ss
Cmin (trough) for 2-compartmental PK model, bolus dosing at steady statepk_2cmt_bolus_cmin_ss
Calculate dose to achieve steady state Cmax for 2-compartmental PK model bolus dosing at steady statepk_2cmt_bolus_dose_from_cmax
Calculate dose to achieve steady state trough for 2-compartmental PK model bolus dosing at steady statepk_2cmt_bolus_dose_from_cmin
Concentration predictions for 2-compartmental PK model, bolus dosing at steady statepk_2cmt_bolus_ss
Concentration predictions for 2-compartmental PK model, single or multiple infusionspk_2cmt_inf
Cmax (trough) for 2-compartmental PK model, bolus dosing at steady statepk_2cmt_inf_cmax_ss
Cmin (trough) for 2-compartmental PK model, bolus dosing at steady statepk_2cmt_inf_cmin_ss
Calculate dose to achieve steady state Cmax for 2-compartmental PK model with infusion dosing at steady statepk_2cmt_inf_dose_from_cmax
Calculate dose to achieve steady state trough for 2-compartmental PK model with infusion dosing at steady statepk_2cmt_inf_dose_from_cmin
Concentration predictions for 2-compartmental PK model with infusion dosing at steady statepk_2cmt_inf_ss
Calculate half-life(s) for 2-compartment modelpk_2cmt_t12
Calculate average half-life for 2-compartment model during a specific intervalpk_2cmt_t12_interval
Read WHO growth tablesread_who_table
Convert quantity expressed relative to BSA to absolute unitsrelative2absolute_bsa
Time to steady state In either time units or number of dosestime_to_ss
Valid unitsvalid_units
Convert any weight unit to kgweight2kg