tscale: Re-scale time in the simulated output

View source: R/chain.R

tscaleR Documentation

Re-scale time in the simulated output

Description

Re-scale time in the simulated output

Usage

tscale(x, value = 1, ...)

Arguments

x

model object.

value

value by which time will be scaled.

...

not used.

Details

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.

Examples

# The model is in hours:
mod <- mrgsolve::house()

# The output is in days:
mod %>% tscale(1/24) %>% mrgsim()


mrgsolve documentation built on Oct. 18, 2024, 5:12 p.m.

Related to tscale in mrgsolve...