Learn R Programming

⚠️There's a newer version (1.1.5) of this package.Take me there.

RxODE (version 0.7.2-4)

Facilities for Simulating from ODE-Based Models

Description

Facilities for running simulations from ordinary differential equation (ODE) models, such as pharmacometrics and other compartmental models. A compilation manager translates the ODE model into C, compiles it, and dynamically loads the object code into R for improved computational efficiency. An event table object facilitates the specification of complex dosing regimens (optional) and sampling schedules. NB: The use of this package requires both C and Fortran compilers, for details on their use with R please see Section 6.3, Appendix A, and Appendix D in the "R Administration and Installation" manual. Also the code is mostly released under GPL. The VODE and LSODA are in the public domain. The information is available in the inst/COPYRIGHTS.

Copy Link

Version

Install

install.packages('RxODE')

Monthly Downloads

12

Version

0.7.2-4

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Wenping Wang

Last Published

June 16th, 2018

Functions in RxODE (0.7.2-4)

rxInv

Invert matrix using Rcpp Armadilo.
reexports

Objects exported from other packages
rxGetRxODE

Get RxODE model from object
rxChain

rxChain Chain or add item to solved system of equations
rxIsCurrent

Checks if the RxODE object was built with the current build
rinvchisq

Scaled Inverse Chi Squared distribution
rxHtml

Format rxSolve and related objects as html.
rxCompile

Compile a model if needed
rxC

Return the C file associated with the RxODE object
rxInits

Initial Values and State values for a RxODE object
rxCondition

Current Condition for RxODE object
rxModelVars

All model variables for a RxODE object
rxGetModel

Get model properties without compiling it.
rxCat

Use cat when RxODE.verbose is TRUE
rxModels_

Get the rxModels information
rxNorm

Get the normalized model
rxIs

Check the type of an object using Rcpp
rxParsePk

Parse PK function for inclusion in RxODE
rxOptions

Options for RxODE
rxParams

Parameters specified by the model
rxClean

Cleanup anonymous DLLs
rxSymInvCholN

Return the dimension of the built-in derivatives/inverses
rxChain2

Second command in chaining commands
rxState

State variables
rxParseErr

Prepare Error function for inclusion in RxODE
rxSplitPlusQ

This function splits a function based on + or - terms
rxSumProdModel

Recast model in terms of sum/prod
rxDynLoad

Load RxODE object
rxSymInvCreate

Creates an object for caluclating Omega/Omega^-1 and dervatives
rxSolveFree

Free the C solving information.
rxCores

Get the number of cores in a system
rxParsePred

Prepare Pred function for inclusion in RxODE
rxSplitLines

Split line into multiple lines at + or - breaks
rxDynUnload

Unload RxODE object
rxSyPyAddVars

Add undefined variables to SymPy
rxDelete

Delete the DLL for the model
rxLhs

Left handed Variables
rxReq

Require namespace, otherwise throw error.
rxIsLoaded

Determine if the DLL associated with the RxODE object is loaded
rxSetProd

Choose the type of product to use in RxODE. These are used in the RxODE prod blocks
rxSymPyClear

Delete variable if exists.
rxLinCmtTrans

This translates the parameters specified by the model in the correct type of solving.
rxExpandIfElse

Expand if/else clauses into mutiple different types of lines.
rxPermissive

Permissive or Strict RxODE sytax options
rxLogifyModel

Takes a model and expands it to log multiplication
rxForget

Clear memoise cache for RxODE
rxSetupScale

Setup the initial conditions.
rxMd5

Return the md5 of an RxODE object or file
rxSimThetaOmega

Simulate Parameters from a Theta/Omega specification
rxPhysicalDrives

Returns a list of physical drives that have been or currently are mounted to the computer.
rxSymPyDfDy

Calculate df/dy derivatives
rxShiny

Use Shiny to help develop an RxODE model
rxPrint

Print x using the message facility
rxSolve

Solves a ODE equation
rxSetSum

Choose the type of sums to use for RxODE.
rxReload

Reload RxODE DLL
rxSymPy

Execute sympy statement.
rxSymPyReserved

Return a list of reserved functions and variables from sympy
rxSymPyVars

Setup SymPy variables
rxSymPySetupPred

Setup Pred function based on RxODE object.
rxSymDiag

Get the theta numbers for the diagonal elements.
rxSymInv

Get Omega and Omega^-1 and derivatives
rxSymPyClean

Remove variables created by RxODE from the SymPy environment.
rxSymPySensitivity

Calculate the sensitivity equations for a model
rxSymPyFix

Fix SymPy expressions to be R parsable expressions
rxSymPySetup

Setup a SymPy environment that sets up the specified RxODE model.
rxSymPyFunctions

Setup SymPy functions
rxSetupIni

Setup the initial conditions.
rxTrans

Translate the model to C code if needed
rxSymPyVersion

Return the version of SymPy that is running
rxSymPyExists

Does the varaible exist in the SymPy Python environment?
rxSymPyExpand

Return the expanded expression (via SymPy)
rxSymInvCholCreate

Creates an object for calculating Omega/Omega^-1 and derivatives
rxSymInvChol

Get Omega^-1 and derivatives
rxValidate

Validate RxODE
summary.rxDll

Summary of rxDll object
rxSymPySetupIf

Setup SymPy environment if needed
rxSyncOptions

Sync options with RxODE varaibles
rxSymPyStart

Start SymPy
rxSymPyExec

Execute Python statement without getting the return value.
rxWinSetup

Setup Windows components for RxODE
rxThetaEta

Format theta and eta for parameter estimate values in RxODE
summary.RxODE

Print expanded information about the RxODE object.
rxWinPythonSetup

Setup Python and SymPy for windows
rxToSymPy

Converts model specification to/from a SymPy language
rxVersion

Version and repository for this dparser package.
cvPost

Sample a covariance Matrix from the Posteior Inverse Wishart distribution.
findLhs

Find the assignments in R expression
coef.RxODE

Return the RxODE coefficients
add.dosing

Add dosing to eventTable
is.rxSolve

Check to see if this is an rxSolve object.
genShinyApp.template

Generate an example (template) of a dosing regimen shiny app
+.rxSolve

Update Solved object with '+'
eventTable

Create an event table object
print.RxODE

Print information about the RxODE object.
print.rxCoef

Print the rxCoef object
add.sampling

Add sampling to eventTable
rxAddReturn

Add a return statment to a function.
rxAssignPtr

Assign pointer based on model variables
rxBlockZeros

Creates a logical matrix for block matrixes.
RxODE

Create an ODE-based model specification
print.rxCoefSolve

Print the rxCoefSolve object
print.rxDll

Print rxDll object
rxDfdy

Jacobian and parameter derivatives
rxDll

Return the DLL associated with the RxODE object