Learn R Programming

seeds (version 0.9.1)

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

Description

Set the vector with the initial (state) values

Usage

setInitState(odeModel, y)

# S4 method for odeModel setInitState(odeModel, y)

Arguments

odeModel

an object of the class odeModel

y

vector with the initial values

Value

an object of odeModel

Examples

Run this code
# NOT RUN {
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)

# }

Run the code above in your browser using DataLab