Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (1.5.2) of this package.
Take me there.
mrgsolve (version 0.9.2)
Simulate from ODE-Based Models
Description
Fast simulation from ordinary differential equation (ODE) based models typically employed in quantitative pharmacology and systems biology.
Copy Link
Link to current version
Version
Version
1.5.2
1.5.1
1.4.1
1.4.0
1.3.0
1.1.1
1.0.9
1.0.8
1.0.6
1.0.4
1.0.3
1.0.2
1.0.0
0.11.1
0.11.0
0.10.7
0.10.4
0.10.1
0.10.0
0.9.2
0.9.1
0.9.0
0.8.12
0.8.11
0.8.10
0.8.9
0.8.6
Install
install.packages('mrgsolve')
Monthly Downloads
1,137
Version
0.9.2
License
GPL (>= 2)
Issues
85
Pull Requests
4
Stars
141
Forks
35
Repository
https://github.com/metrumresearchgroup/mrgsolve
Maintainer
Kyle T Baron
Last Published
July 13th, 2019
Functions in mrgsolve (0.9.2)
Search all functions
as.list,mrgsims-method
Coerce an mrgsims object to list
as_deslist
Create a list of designs from a data frame
aboutsolver
About the ODEPACK differential equation solver used by mrgsolve
as.ev
Coerce an object to class ev
Req
Request simulated output
blocks
Return the code blocks from a model specification file
as_data_set
Create a simulation data set from ev objects
BLOCK_PARSE
Functions to parse code blocks
as.list,mrgmod-method
Coerce a model object to list
code
Extract the code from a model
design
Set observation designs for the simulation
env_eval
Re-evaluate the code in the ENV block
env_get
Return model environment
cvec
Create create character vectors
data_qsim
DEPRECATED: Create a matrix of events and observations for simulation
cmtn
Get the compartment number from a compartment name
house
Return a pre-compiled, PK/PD model
cmt_list-class
S4 cmt_list class
inventory
Check whether all required parameters needed in a model are present in an object
file_show
Show model specification and C++ files
PKMODEL
Parse PKMODEL BLOCK data
ev-class
S4 events class
ev_rep
Replicate an event object
idata_set
Select and modify a idata set for simulation
ev_ops
Operations for ev objects
is.mrgmod
Check if an object is a model object
mutate.ev
dplyr verbs for event objects
expand.idata
Create template data sets for simulation
expand_observations
Insert observations into a data set
data_set
Select and modify a data set for simulation
ev_methods
Various methods for event objects
details
Extract model details
lower2matrix
Create a square numeric matrix from the lower-triangular elements
is.mrgsims
Check if an object is mrgsim output
ev
Event objects for simulating PK and other interventions
merge.list
Merge two lists
mod
Return the model object
param
Create and work with parameter objects
init
Methods for working with the model compartment list
ev_assign
Replicate a list of events into a data set
ev_seq
Schedule a series of event objects
ev_days
Schedule dosing events on days of the week
exdatasets
Example input data sets
modlib_pk
modlib: Pharmacokinetic models
parameter_list-class
S4 parameter_list class
plot_sims
Plot data as an mrgsims object
cama
Run the model cama function
matlist
Methods for working with matrix-list objects
mread
Read a model specification file
modMATRIX
Create a matrix
knobs
Run sensitivity analysis on model settings
modelparse
Parse model specification text
mrgmod-class
S4 class for mrgsolve model object
modlib_pkpd
modlib: Pharmacokinetic / pharmacodynamic models
mrgsim_q
Simulate from a model object with quicker turnaround
c,matlist-method
Operations with matlist objects
modlib_tmdd
modlib: Target mediated disposition model
modlib_viral
modlib: HCV viral dynamics models
carry_out
Select items to carry into simulated output
stime
Get the times at which the model will be evaluated
mrgsims
Methods for working with
mrgsims
objects
solversettings
Optional inputs for DLSODA
mrgsims-class
S4 class for mrgsolve simulation output
mrgsim_variants
mrgsim variant functions
render
Render a model to a document
reserved
Reserved words
obsonly
Collect only observations in the simulated output
omega
Manipulate OMEGA matrices
env_ls
List objects in the model environment
scrape_opts
Scrape options from a code block
valid_data_set
Validate and prepare a data sets for simulation
see
Print model code to the console
valid_idata_set
Validate and prepare idata data sets for simulation
ev_repeat
Repeat a block of dosing events
lctran
Convert select upper case column names to lower case to conform to mrgsolve data expectations
env_update
Update objects in model environment
mcRNG
Set RNG to use L'Ecuyer-CMRG
ev_rx
Create intervention objects from Rx input
loadso
Load the model shared object
mvgauss
Simulate from a multivariate normal distribution with mean zero
mcode
Write, compile, and load model code
qsim
DEPRECATED: A quick simulation function
simargs
Access or clear arguments for calls to mrgsim
tscale
Re-scale time in the simulated output
update
Update the model object
soloc
Return the location of the model shared object
modlib_details
modlib: PK/PD Model parameters, compartments, and output variables
modlib
Internal model library
matlist-class
S4 class matlist
names,mrgmod-method
Get all names from a model object
mrgsims_dplyr
Methods for handling output with dplyr verbs
numerics_only
Prepare data.frame for input to mrgsim
mrgsolve
mrgsolve
obsaug
Augment observations in the simulated output
recmatrix
DEPRECATED: Create a matrix of events for simulation
reexports
Objects exported from other packages
as_bmat
Coerce R objects to block or diagonal matrices
show,cmt_list-method
Show the compartment list
read_nmext
Extract estimates from NONMEM ext file
plot,batch_mrgsims,missing-method
Plot method for mrgsims objects
plot_mrgsims
Generate a quick plot of simulated data
$,mrgmod-method
Select parameter values from a model object
matrix_helpers
Create matrices from vector input
mrgsim
Simulate from a model object
numeric2diag
Create a diagonal numeric matrix from diagonal elements
nmxml
Get THETA, OMEGA and SIGMA from a completed NONMEM run
numericlist-class
S4 class numeric list
show,mrgmod-method
Print model details
c,tgrid-method
Operations with tgrid objects
numericlist
Methods for numericlist
scrape_and_call
Scrape options and pass to function
revar
Get model random effect variances and covariances
touch_funs
Get inits from compiled function
sigma
Manipulate SIGMA matrices
show,parameter_list-method
Show the parameter list
summary.mrgmod
Print summary of a mrgmod object
wf_sweep
Simulate a sequence of parameters
realize_addl
Make addl doses explicit in an event object or data set
tgrid
Create a simtime object
%>%
Forward pipe