Tools for Performing Pharmacokinetic-Pharmacodynamic Simulations
Join two dosing regimens
Size of the lower triangle of the matrix
Merge two regimens together.
Load model definition from API, and compile to R library
Model library
More powerful multivariate normal sampling function
Fill in NAs with the previous non-missing value
Probabilistically model adherence
covariate model function
Combines covariates and parameters into a single list, useful for repa...
ADVAN-style functions to calculate linear PK systems
Wrapper for using analytical equations with PKPD regimens
defines C code for TDM before dose conditions
Auto-detect the syntax for the ODE code
covariate function builder
Put vector values in quotes
Calculate the increase in a specific quantile for a distribution on y ...
Add residual variability to the dependent variable
Binomial adherence
Markov adherence model
Create ADVAN-style dataset
Internal function to parse the raw output from ADVAN-style functions
Add column RATEALL to ADVAN-style dataset to handle infusions
Apply infusion duration scale to a regimen
Apply lagtime to a regimen
See models from the literature available for installation
Transforms bioavailability specs into appropriate R code
Convenience function to calculate the AUC based on PK model parameters...
Calculate derivative
Returns the state of a linear PK system at steady state (trough) using...
Get fixed parameters from model definition.
Calculate model-specific variables using a dummy call to sim_ode()
Checks that IOV was specified appropriately
Check that mixture model is specified in right format and within const...
Checks obs input for valid combinations of cmt, var, scale
Compile ODE model to c++ function
Use only last observed covariate values
Convert covariate table specified as data.frame
Create an event table
Create obs data
Create lower-diagonal omega matrix from CV for parameter estimates
Functions for getting information about a model
Get the number of states in the ODE from the code code C++ code for mo...
Get model parameters from code
Extract sensible default observation times from a specified regimen
Get expected variance/sd/ci of dependent variable based on PKPDsim mod...
ifelse function but then based on whether value is NULL or not
Install default literature model
Check if package number is different from currently installed, and pro...
Is matrix positive definite
New covariate
Create new ODE model
Dose regimen for sim_ode
Function to parse parameters for a model into a structure used by nlmi...
Create a regimen from NONMEM data
Current time in UTC
ADVAN-style equations
IV infusion- 1 compartment
first-order absorption 1 compartment
Parse observation types to simulation code
Convert a model generated with PKPDsim to an object for nlmixr
PKPDsim package
Remove n doses (from tail) of PKPDsim regimen
Return a list in R syntax
Print function for PKPDsim covariate object
Print function for PKPDsim simulation function
Print function for PKPDsim regimen
Read model definition from JSON
Convert PKPDsim regimen to NONMEM table (doses only)
Reparametrize model parameters using a reparametrization defined withi...
Find string and replace in file
Remove n doses (from start) of PKPDsim regimen
R starts counting vector indices at 1, c++ starts at 0, so reduce all ...
Transform a vector into a string that evaluates to the same vector
Only core function of the simulation function, always just returns obs...
Simulate ODE and create a Shiny app
Deprecated function, renamed to sim()
Simulate ODE or analytical equation
Convert a table to a list
Test a model
Test if model still in memory
IV bolus- 3 compartment
IV infusion- 3 compartment
3-compartment IV infusion with first-order metabolite formation
first-order absorption- 3 compartment
first-order absorption- 3 compartment-Metabolite
Translate a model from/to various PKPD simulators
Convert triangle omega matrix to full omega matrix
IV bolus- 2 compartment
IV infusion- 2 compartment
First-order absorption- 2 compartment
Simulate dose regimens for pharmacokinetic-pharmacodynamic (PK-PD) models described by differential equation (DE) systems. Simulation using ADVAN-style analytical equations is also supported (Abuhelwa et al. (2015) <doi:10.1016/j.vascn.2015.03.004>).