Learn R Programming

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

RxODE (version 0.7.2-2)

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

121

Version

0.7.2-2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Wenping Wang

Last Published

June 3rd, 2018

Functions in RxODE (0.7.2-2)

rxNorm

Get the normalized model
rxOptions

Options for RxODE
rxCompile

Compile a model if needed
rxRmPrint

Remove print statements
rxSymPyFix

Fix SymPy expressions to be R parsable expressions
rxState

State variables
rxChain2

Second command in chaining commands
rxCat

Use cat when RxODE.verbose is TRUE
rxCondition

Current Condition for RxODE object
rxExpandIfElse

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

Clear memoise cache for RxODE
rxParsePk

Parse PK function for inclusion in RxODE
rxSymPyFunctions

Setup SymPy functions
reexports

Objects exported from other packages
rxSplitPlusQ

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

Start SymPy
rxSymPyExec

Execute Python statement without getting the return value.
rxParsePred

Prepare Pred function for inclusion in RxODE
rxRmJac

Remove Jacobian
rxCores

Get the number of cores in a system
rxDfdy

Jacobian and parameter derivatives
rxWinRtoolsPath

Setup Rtools path
rxHtml

Format rxSolve and related objects as html.
rxChain

rxChain Chain or add item to solved system of equations
rxClean

Cleanup anonymous DLLs
rxLogifyModel

Takes a model and expands it to log multiplication
rxInits

Initial Values and State values for a RxODE object
rxWinPythonSetup

Setup Python and SymPy for windows
rxDelete

Delete the DLL for the model
rxParams

Parameters specified by the model
rxDynLoad

Load RxODE object
rxDynUnload

Unload RxODE object
rxMd5

Return the md5 of an RxODE object or file
rxIs

Check the type of an object using Rcpp
rxInv

Invert matrix using Rcpp Armadilo.
rxParseErr

Prepare Error function for inclusion in RxODE
rxDll

Return the DLL associated with the RxODE object
rxLhs

Left handed Variables
rxGetModel

Get model properties without compiling it.
rxLinCmtTrans

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

Get RxODE model from object
rxIsCurrent

Checks if the RxODE object was built with the current build
rxModelVars.character

All model variables for a RxODE object
rxModels_

Get the rxModels information
rxIsLoaded

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

Remove sensitivity equations
rxReload

Reload RxODE DLL
rxRtoolsBaseWin

Return Rtools base
rxPermissive

Permissive or Strict RxODE sytax options
rxSetupIni

Setup the initial conditions.
rxPrint

Print x using the message facility
rxSymInvChol

Get Omega^-1 and derivatives
rxReq

Require namespace, otherwise throw error.
rxSetupScale

Setup the initial conditions.
rxSymDiag

Get the theta numbers for the diagonal elements.
rxPhysicalDrives

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

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

Get Omega and Omega^-1 and derivatives
rxSimThetaOmega

Simulate Parameters from a Theta/Omega specification
rxRmIni

Remove INIs
rxShiny

Use Shiny to help develop an RxODE model
rxSetProd

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

Choose the type of sums to use for RxODE.
rxSymPyClear

Delete variable if exists.
rxSolve

Solves a ODE equation
rxSumProdModel

Recast model in terms of sum/prod
rxSymPyDfDy

Calculate df/dy derivatives
rxSymPyJacobian

Calculate the full Jacobian for a model
rxTrans

Translate the model to C code if needed
rxSymPyReserved

Return a list of reserved functions and variables from sympy
summary.rxDll

Summary of rxDll object
rxSyPyAddVars

Add undefined variables to SymPy
rxToSymPy

Converts model specification to/from a SymPy language
rxSymPyClean

Remove variables created by RxODE from the SymPy environment.
rxSymPyExists

Does the varaible exist in the SymPy Python environment?
rxSymPySensitivity

Calculate the sensitivity equations for a model
rxSymPy

Execute sympy statement.
rxSplitLines

Split line into multiple lines at + or - breaks
rxSymInvCholN

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

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

Setup SymPy environment if needed
rxSymPyExpand

Return the expanded expression (via SymPy)
rxSymPySetup

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

Sync options with RxODE varaibles
rxSymPySetupPred

Setup Pred function based on RxODE object.
rxValidate

Validate RxODE
rxThetaEta

Format theta and eta for parameter estimate values in RxODE
rxSymPyVars

Setup SymPy variables
rxSymPyVersion

Return the version of SymPy that is running
rxWinSetup

Setup Windows components for RxODE
rxVersion

Version and repository for this dparser package.
summary.RxODE

Print expanded information about the RxODE object.
is.rxSolve

Check to see if this is an rxSolve object.
cvPost

Sample a covariance Matrix from the Posteior Inverse Wishart distribution.
add.dosing

Add dosing to eventTable
add.sampling

Add sampling to eventTable
rxAssignPtr

Assign pointer based on model variables
genShinyApp.template

Generate an example (template) of a dosing regimen shiny app
findLhs

Find the assignments in R expression
+.rxSolve

Update Solved object with '+'
print.rxDll

Print rxDll object
coef.RxODE

Return the RxODE coefficients
rxC

Return the C file associated with the RxODE object
RxODE

Create an ODE-based model specification
eventTable

Create an event table object
rxAddReturn

Add a return statment to a function.
print.RxODE

Print information about the RxODE object.
rinvchisq

Scaled Inverse Chi Squared distribution
print.rxCoefSolve

Print the rxCoefSolve object
print.rxCoef

Print the rxCoef object
rxBlockZeros

Creates a logical matrix for block matrixes.