setInitState: Set the vector with the initial (state) values

Description Usage Arguments Value Examples

Description

Set the vector with the initial (state) values

Usage

1
2
3
4
setInitState(odeModel, y)

## S4 method for signature 'odeModel'
setInitState(odeModel, y)

Arguments

odeModel

an object of the class odeModel

y

vector with the initial values

Value

an object of odeModel

Examples

1
2
3
4
5
data("uvbModel")

x0 = c(0.2,10,2,0,0,20,0,0,0,4.2,0.25,20,0)

newModel <- setInitState(uvbModel, y = x0)

Newmi1988/seeds documentation built on Aug. 7, 2021, 8:22 p.m.