setInitState {seeds} | R Documentation |
Set the vector with the initial (state) values
Description
Set the vector with the initial (state) values
Usage
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
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)
[Package seeds version 0.9.1 Index]