Man pages for PKPDsim
Tools for Performing Pharmacokinetic-Pharmacodynamic Simulations

add_quotesPut vector values in quotes
add_ruvAdd residual variability to the dependent variable
add_ruv_to_quantileCalculate the increase in a specific quantile for a...
adherence_binomialBinomial adherence
adherence_markovMarkov adherence model
advanADVAN-style functions to calculate linear PK systems
advan_create_dataCreate ADVAN-style dataset
advan_parse_outputInternal function to parse the raw output from ADVAN-style...
advan_process_infusion_dosesAdd column RATEALL to ADVAN-style dataset to handle infusions
analytical_eqn_wrapperWrapper for using analytical equations with PKPD regimens
apply_lagtimeApply lagtime to a regimen
bioavailability_to_R_codeTransforms bioavailability specs into appropriate R code
calc_dydPCalculate derivative
calc_ss_analyticReturns the state of a linear PK system at steady state...
calculate_parametersCalculate model-specific variables using a dummy call to...
check_iov_specificationChecks that IOV was specified appropriately
check_mixture_modelCheck that mixture model is specified in right format and...
check_obs_inputChecks obs input for valid combinations of cmt, var, scale
compile_sim_cppCompile ODE model to c++ function
covariate_last_obs_onlyUse only last observed covariate values
covariates_table_to_listConvert covariate table specified as data.frame
create_event_tableCreate an event table
create_obs_dataCreate obs data
cv_to_omegaCreate lower-diagonal omega matrix from CV for parameter...
define_tdm_init_modeldefines C code for TDM before dose conditions
detect_ode_syntaxAuto-detect the syntax for the ODE code
f_covcovariate function builder
get_fixed_parametersGet fixed parameters
get_ode_model_sizeGet the number of states in the ODE from the code code C++...
get_parameters_from_codeGet model parameters from code
get_t_obs_from_regimenExtract sensible default observation times from a specified...
get_var_yGet expected variance/sd/ci of dependent variable based on...
ifelse0ifelse function but then based on whether value is NULL or...
is_newer_packageCheck if package number is different from currently...
is_positive_definiteIs matrix positive definite
join_cov_and_parCombines covariates and parameters into a single list, useful...
join_regimenJoin two dosing regimens
lower_triangle_mat_sizeSize of the lower triangle of the matrix
merge_regimenMerge two regimens together.
model_from_apiLoad model definition from API, and compile to R library
model_libraryModel library
mvrnorm2More powerful multivariate normal sampling function
na_locfFill in NAs with the previous non-missing value
new_adherenceProbabilistically model adherence
new_covariateNew covariate
new_covariate_modelcovariate model function
new_ode_modelCreate new ODE model
new_regimenDose regimen for sim_ode
nlmixr_parse_parametersFunction to parse parameters for a model into a structure...
nm_to_regimenCreate a regimen from NONMEM data
now_utcCurrent time in UTC
OneCompIVbolusADVAN-style equations
OneCompIVinfusionIV infusion- 1 compartment
OneCompOralfirst-order absorption 1 compartment
parse_obs_typesParse observation types to simulation code
pkdataPK dataset
PKPDsim-packagePKPDsim package
pkpdsim_to_nlmixrConvert a model generated with PKPDsim to an object for...
pop_regimenRemove n doses (from tail) of PKPDsim regimen
print.covariatePrint function for PKPDsim covariate object
print_listReturn a list in R syntax
print.PKPDsimPrint function for PKPDsim simulation function
print.regimenPrint function for PKPDsim regimen
read_model_jsonRead model definition from JSON
regimen_to_nmConvert PKPDsim regimen to NONMEM table (doses only)
reparametrizeReparametrize model parameters using a reparametrization...
search_replace_in_fileFind string and replace in file
shift_regimenRemove n doses (from start) of PKPDsim regimen
shift_state_indicesR starts counting vector indices at 1, c++ starts at 0, so...
simSimulate ODE or analytical equation
sim_coreOnly core function of the simulation function, always just...
sim_odeDeprecated function, renamed to 'sim()'
sim_ode_shinySimulate ODE and create a Shiny app
table_to_listConvert a table to a list
test_modelTest a model
test_pointerTest if model still in memory
ThreeCompIVbolusIV bolus- 3 compartment
ThreeCompIVinfusionIV infusion- 3 compartment
ThreeCompIVinfusionMetab3-compartment IV infusion with first-order metabolite...
ThreeCompOralfirst-order absorption- 3 compartment
ThreeCompOralMetabfirst-order absorption- 3 compartment-Metabolite
translate_odeTranslate a model from/to various PKPD simulators
triangle_to_fullConvert triangle omega matrix to full omega matrix
TwoCompIVbolusIV bolus- 2 compartment
TwoCompIVinfusionIV infusion- 2 compartment
TwoCompOralFirst-order absorption- 2 compartment
vector_to_R_codeTransform a vector into a string that evaluates to the same...
PKPDsim documentation built on March 7, 2023, 5:40 p.m.