I need a seq() or seq_along() function call that properly implements the semantics you're wanting for the simulation.
Can you note here, in a comment, the scientific meaning of timesteps and increment? I remember discussing this on Friday, but I don't recall the exact meaning. Please parse out the meaning of the following function calls and tell me which is correct for the simulation, then I'll implement that usage and ensure the widgets are there and the values used correctly.
# Used for stochastic models
replicates <- 100
timestep <- 0.01
increment <- 1
seq(to = increment, by = timestep) # numeric(3301)
seq(length.out = timestep, by = increment) # numeric(100)
I need a
seq()
orseq_along()
function call that properly implements the semantics you're wanting for the simulation.Can you note here, in a comment, the scientific meaning of
timesteps
andincrement
? I remember discussing this on Friday, but I don't recall the exact meaning. Please parse out the meaning of the following function calls and tell me which is correct for the simulation, then I'll implement that usage and ensure the widgets are there and the values used correctly.