# Clinical Pharmacokinetics Toolkit

## Documentation for package ‘clinPK’ version 0.11.1

- DESCRIPTION file.

## Help Pages

A C D E F I K L M N O P R T V W misc

clinPK-package | clinPK

## -- A --

absolute2relative_bsa | Convert quantity expressed in absolute units relative to normalized BSA
accumulation_ratio | Calculate accumulation ratio This is the ratio of drug concentration or AUC at steady state over concentrations after single dose
add_ruv | Add residual variability to data
as.num | factors or characters to numeric
auc2dose | Convert AUCtau or AUCt to dose (for 1-compartment linear PK model)

## -- C --

calc_abw | Calculate adjusted body weight (ABW)
calc_aki_stage | Calculate AKI stage
calc_amts_for_conc | 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_baseline_scr | Calculate baseline sCr
calc_bmi | Calculate BMI
calc_bsa | Calculate body surface area
calc_creat | Estimate serum creatinine
calc_creat_neo | Estimate serum creatinine in neonates
calc_dosing_weight | Calculate commonly used "dosing weight"
calc_egfr | Calculate eGFR
calc_egfr_cystatin | Calculate eGFR based on Cystatin C measurements
calc_ffm | Calculate fat-free mass
calc_ibw | Calculate ideal body weight in kg for children and adults
calc_kel_double_tdm | Calculate elimination rate when given two TDM samples
calc_kel_single_tdm | Calculate elimination rate when given a single TDM sample
calc_kgfr | Calculate kinetic GFR
calc_lbw | Calculate lean body weight
calc_t12 | Calculate half-life based on two points
check_covs_available | Returns parameters needed to calculate eGFR according to the method specified.
cm2inch | Convert cm to inch
conc2mol | Convert concentration to molar
convert_creat_assay | Convert serum creatinine from various assays to Jaffe
convert_creat_unit | Convert creatinine to different unit
convert_flow_unit | Convert flow (e.g. clearance) from / to units

## -- D --

dose2auc | Convert dose to expected AUCinf or AUCt for 1 compartment linear PK model

## -- E --

egfr_bedside_schwartz | Calculate eGFR
egfr_ckd_epi | Calculate eGFR
egfr_ckd_epi_as_2021 | Calculate eGFR
egfr_cockcroft_gault | Calculate eGFR
egfr_cockcroft_gault_sci | Calculate eGFR
egfr_cov_reqs | Returns parameters needed to calculate eGFR according to the method specified.
egfr_jelliffe | Calculate eGFR
egfr_jelliffe_unstable | Calculate eGFR
egfr_malmo_lund | Calculate eGFR
egfr_mdrd | Calculate eGFR
egfr_schwartz | Calculate eGFR
egfr_wright | Calculate eGFR

## -- F --

ffm_al_sallami | Calculate fat-free mass
ffm_bucaloiu | Calculate fat-free mass
ffm_garrow_webster | Calculate fat-free mass
ffm_hume | Calculate fat-free mass
ffm_james | Calculate fat-free mass
ffm_janmahasatian_green | Calculate fat-free mass
ffm_storset | Calculate fat-free mass
find_factor | Helper function to grab the conversion factor from an input unit and given list
find_nearest_dose | Generic function to calculate the dose nearest to a specific dose unit increment
find_nearest_interval | Generic function to calculate the interval nearest to a possible dosing interval
fraction_of_ss | Calculate fraction of steady state at particular time after start of dosing

## -- I --

ibw_devine | Calculate IBW using "devine" equation
ibw_standard | Calculate IBW using "standard" equation
inch2cm | Convert inch to cm
is.nil | Check if values in vector are empty

## -- K --

kdigo_stage | Calculate AKI stage according to KDIGO criteria
kg2lbs | Convert kg to lbs
kg2oz | Convert kg to oz

## -- L --

lbs2kg | Convert lbs to kg

## -- M --

mol2conc | Convert molar to concentration

## -- N --

nca | Perform an NCA based on a NONMEM-style dataset
nca_trapezoid | NCA core function to perform log-linear trapezoid calculations for post-infusion

## -- O --

oz2kg | Convert oz to kg

## -- P --

pct_bmi_for_age | Percentile BMI for age for children
pct_for_age_generic | Percentile height or weight for age for children
pct_height_for_age | Percentile height for age for children
pct_weight_for_age | Percentile weight for age for children
pk_1cmt_bolus | Concentration predictions for 1-compartmental PK model after single or multiple bolus doses
pk_1cmt_bolus_cmax_ss | Cmax for linear 1-compartment PK model at steady state, bolus dosing
pk_1cmt_bolus_cmin_ss | Cmin (trough) for linear 1-compartment PK model at steady state, bolus dosing
pk_1cmt_bolus_dose_from_cmax | Calculate dose to achieve steady state Cmax for 1-compartmental PK model bolus dosing at steady state
pk_1cmt_bolus_dose_from_cmin | Calculate dose to achieve steady state trough for 1-compartmental PK model bolus dosing at steady state
pk_1cmt_bolus_ss | Concentration predictions for 1-compartmental PK model with bolus dosing at steady state
pk_1cmt_inf | Concentration predictions for 1-compartmental PK model after single or multiple bolus doses
pk_1cmt_inf_cmax_ss | Cmax for linear 1-compartment PK model at steady state
pk_1cmt_inf_cmin_ss | Cmin (trough) for linear 1-compartment PK model at steady state
pk_1cmt_inf_dose_for_range | Calculate dose based on a given AUC24, Cmax, and Cmin, assuming 1-compartment model
pk_1cmt_inf_dose_from_cmax | Calculate dose to achieve steady state Cmax for 1-compartmental PK model with infusion dosing at steady state
pk_1cmt_inf_dose_from_cmin | Calculate dose to achieve steady state trough for 1-compartmental PK model with infusion dosing at steady state
pk_1cmt_inf_ss | Concentration predictions for 2-compartmental PK model with infusion dosing at steady state
pk_1cmt_oral | Concentration predictions for 1-compartmental oral PK model after single or multiple bolus doses
pk_1cmt_t12 | Calculate terminal half-life for 1-compartment model
pk_2cmt_bolus | Concentration predictions for 2-compartmental PK model, single or multiple bolus doses
pk_2cmt_bolus_cmax_ss | Cmax for 2-compartmental PK model, bolus dosing at steady state
pk_2cmt_bolus_cmin_ss | Cmin (trough) for 2-compartmental PK model, bolus dosing at steady state
pk_2cmt_bolus_dose_from_cmax | Calculate dose to achieve steady state Cmax for 2-compartmental PK model bolus dosing at steady state
pk_2cmt_bolus_dose_from_cmin | Calculate dose to achieve steady state trough for 2-compartmental PK model bolus dosing at steady state
pk_2cmt_bolus_ss | Concentration predictions for 2-compartmental PK model, bolus dosing at steady state
pk_2cmt_inf | Concentration predictions for 2-compartmental PK model, single or multiple infusions
pk_2cmt_inf_cmax_ss | Cmax (trough) for 2-compartmental PK model, bolus dosing at steady state
pk_2cmt_inf_cmin_ss | Cmin (trough) for 2-compartmental PK model, bolus dosing at steady state
pk_2cmt_inf_dose_from_cmax | Calculate dose to achieve steady state Cmax for 2-compartmental PK model with infusion dosing at steady state
pk_2cmt_inf_dose_from_cmin | Calculate dose to achieve steady state trough for 2-compartmental PK model with infusion dosing at steady state
pk_2cmt_inf_ss | Concentration predictions for 2-compartmental PK model with infusion dosing at steady state
pk_2cmt_t12 | Calculate half-life(s) for 2-compartment model
pk_2cmt_t12_interval | Calculate average half-life for 2-compartment model during a specific interval
print.nca_output | Print function for output from nca()

## -- R --

read_who_table | Read WHO growth tables
relative2absolute_bsa | Convert quantity expressed relative to BSA to absolute units
remove_lt_gt | Remove less-than/greater-than symbols and convert to numeric

## -- T --

time_to_ss | Time to steady state In either time units or number of doses

## -- V --

valid_units | Valid units

## -- W --

weight2kg | Convert any weight unit to kg

## -- misc --

%<=% | Less-than-or-equal-to with a little room for floating point precision issues
%>=% | Greater-than-or-equal-to with a little room for floating point precision issues