Simulate from ODE-Based Models
Create intervention objects from Rx input
Coerce R objects to block or diagonal matrices
Create matrices from vector input
Write, compile, and load model code
Set RNG to use L'Ecuyer-CMRG
Merge two lists
Return the model object
Parse model specification text
modlib: PK/PD Model parameters, compartments, and output variables
modlib: Pharmacokinetic models
modlib: Pharmacokinetic / pharmacodynamic models
modlib: Target mediated disposition model
modlib: HCV viral dynamics models
Internal model library
Create a matrix
Scrape options from a code block
Print model code to the console
Show the compartment list
Print model details
Show the parameter list
Update parameters, initials, and settings within a model object
Forward pipe
Zero out random effects in a model object
Scrape options and pass to function
Repeat a block of dosing events
Check if an object is a model object
Check if an object is mrgsims output
Augment observations in the simulated output
Collect only observation records in the simulated output
Run the model cama function
Select and modify a data set for simulation
Various methods for event objects
Operations for ev objects
About the lsoda differential equation solver used by mrgsolve
Replicate an event object
Create a simulation data set from ev objects or data frames
Create a list of designs from a data frame
Coerce an object to class ev
Coerce a model object to list
Coerce an mrgsims object to list
Functions to parse code blocks
Return the code blocks from a model specification file
Select items to carry into simulated output
Check input data set names against model parameters
S4 cmt_list class
Get the compartment number from a compartment name
Extract the code from a model
Collapse OMEGA or SIGMA matrix lists
Collapse the matrices of a matlist object
Create create character vectors
Set observation designs for the simulation
Extract model details
Re-evaluate the code in the ENV block
Return model environment
List objects in the model environment
Update objects in model environment
Replicate a list of events into a data set
Schedule dosing events on days of the week
dplyr verbs for event objects
Select columns from an ev object
Schedule a series of event objects
S4 events class
Event objects for simulating PK and other interventions
Create an event object with data-like names
Example input data sets
Insert observations into a data set
Create template data sets for simulation
Show model specification and C++ files
Return a pre-compiled, PK/PD model
Select and modify a idata set for simulation
Methods for working with the model compartment list
Check whether all required parameters needed in a model are present in...
Run sensitivity analysis on model settings
Change the case of nmtran-like data items
Load the model shared object
Create a square numeric matrix from the lower-triangular elements
Operations with matlist objects
S4 class matlist
Methods for working with matrix-list objects
Plot method for mrgsims objects
Read a model from yaml format
Read a model specification file
Select parameter values from a model object
S4 class for mrgsolve model object
Simulate from a model object with quicker turnaround
mrgsim variant functions
Simulate from a model object
Request simulated output
Methods for handling output with dplyr verbs
Methods for modifying mrgsims objects
S4 class for mrgsolve simulation output
Methods for working with mrgsims
objects
mrgsolve: Simulate from ODE-Based Models
Simulate from a multivariate normal distribution with mean zero
Write a model to native mrgsolve format
Reserved words
Write model code to yaml format
Get all names from a model object
Import model estimates from a NONMEM ext file
Import model estimates from a NONMEM xml file
Create a diagonal numeric matrix from diagonal elements
S4 class numeric list
Methods for numericlist
Prepare data.frame for input to mrgsim()
Manipulate OMEGA matrices
Show names of current output variables
Return parameter tags
Create and work with parameter objects
S4 parameter_list class
Parse PKMODEL BLOCK data
Generate a quick plot of simulated data
Plot data as an mrgsims object
Basic, simple simulation from model object
Extract estimates from NONMEM ext file
Make addl doses explicit in an event object or data set
Objects exported from other packages
Render a model to a document
Get model random effect variances and covariances
Manipulate SIGMA matrices
Access or clear arguments for calls to mrgsim()
Return the location of the model shared object
Optional inputs for lsoda
Get the times at which the model will be evaluated
Print summary of a mrgmod object
Operations with tgrid objects
Create a simtime object
Get inits from compiled function
Re-scale time in the simulated output
Update the model object
Validate and prepare data sets for simulation
Validate and prepare idata data sets for simulation
Simulate a sequence of parameters
Fast simulation from ordinary differential equation (ODE) based models typically employed in quantitative pharmacology and systems biology.
Useful links