tscale | R Documentation |
Re-scale time in the simulated output
tscale(x, value = 1, ...)
x |
model object. |
value |
value by which time will be scaled. |
... |
not used. |
There is also a tscale
argument to mrgsim()
that can
be set to accomplish the same thing as a call to tscale
in
the pipeline.
# The model is in hours:
mod <- mrgsolve::house()
# The output is in days:
mod %>% tscale(1/24) %>% mrgsim()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.