Times at which the model output is recorded, as the app's "Max Sampling
Time" and "Sampling Frequency" options, or given explicitly.
Usage
mvp_times(end = 24, every = 1, times = NULL, add_zero = TRUE)
Arguments
- end
Last sampling time (model time units, usually hours).
- every
Time between samples.
- times
Explicit sampling times (used instead of end and every).
- add_zero
Also sample at time 0 (as the app's "Add Sampling at Time 0").
Value
A sorted numeric vector of sampling times.
Examples
mvp_times(end = 24, every = 4)
#> [1] 0 4 8 12 16 20 24
# hourly for 13 weeks
length(mvp_times(end = 13 * 168, every = 1))
#> [1] 2185