odeSim: ODE simulation with Multiprocessor Computation

View source: R/odeSim.r

odeSimR Documentation

ODE simulation with Multiprocessor Computation

Description

Simulate with ordinary differential equations in R including multiprocessor computation

Usage

odeSim(
  state,
  times,
  func,
  parms,
  simPar,
  simParValues,
  method = "lsoda",
  nodes = 1,
  keepTimeDT = 0.1
)

Arguments

state

initial conditions

times

at what times should the system of differential equations be updated

func

function describing the system of differential equations

parms

global parameter values

simPar

names of parameters and states that should be changed from global values

simParValues

values of parameters and states - each row corresponds to one scenario

method

method for updating the states of the differential equations (see ?ode)

nodes

number of parallel nodes to use in computations

keepTimeDT

The times that return a zero when modulus (divided) by keepTimeDT are kept

Value

Data.frame with simulated output


qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.