powered by
Set the vector with the initial (state) values
setInitState(odeModel, y)# S4 method for odeModel setInitState(odeModel, y)
# S4 method for odeModel setInitState(odeModel, y)
an object of the class odeModel
vector with the initial values
an object of odeModel
# 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