setInput {seeds} | R Documentation |
Set the inputs of the model.
Description
It the model has an input it can be set with this function. The inputs should be a dataframe, where the first column is the timesteps of the inputs in the second column.
Usage
setInput(odeModel, input)
## S4 method for signature 'odeModel'
setInput(odeModel, input)
Arguments
odeModel |
an object of the class modelClass |
input |
function describing the ode equation of the model |
Value
an object of odeModel
Examples
data("uvbModel")
model_times <- uvbModel@times
input <- rep(0,length(model_times))
input_Dataframe <- data.frame(t = model_times, u = input)
newModel <- setInput(odeModel = uvbModel,input = input_Dataframe)
[Package seeds version 0.9.1 Index]