ODE: A R6 class for numerically solving the ODE models

ODER Documentation

A R6 class for numerically solving the ODE models

Description

A R6 class for numerically solving the ODE models

A R6 class for numerically solving the ODE models

Details

ODE is a subclass of 'Simulator'. This class is only available if the 'deSolve' package is installed.

Super class

REpiSim::Simulator -> ODE

Active bindings

model

a read-only field giving the R function for the ODE equations to be passed to deSolve::ode as the 'func' argument.

Methods

Public methods

Inherited methods

Method new()

constructor

Usage
ODE$new(model)
Arguments
model

the model to simulate. It must be an object of a subclass of 'Model'.


Method clone()

The objects of this class are cloneable with this method.

Usage
ODE$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


junlingm/REpiSim documentation built on Nov. 28, 2023, 2:35 a.m.