stime | R Documentation |
Get the times at which the model will be evaluated
stime(x, ...)
x |
a model object or a mrgsims object. |
... |
not used. |
Simulation times include the sequence of times created from
start
, end
, and delta
and the vector of times found in add
.
Making end
negative (e.g. -1) will omit the start-end-delta
sequence. Negative values are discarded from the result.
A sorted vector of unique simulation times from the time grid in the model object.
## example("stime", package="mrgsolve")
mod <- mrgsolve::house(end = 12, delta = 2, add = c(11,13,15))
stime(mod)
update(mod, end = -1) %>% stime()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.