Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

stime

Get the times at which the model will be evaluated


Description

Get the times at which the model will be evaluated

Usage

stime(x, ...)

Arguments

x

object of class mrgmod

...

passed on

Details

Simulation times include the sequence of times created from start, end, and delta and the vector of times found in add. Making end negative will omit any start / end / delta sequence. Negative values are discarded from the result.

Value

a sorted vector of unique times

Examples

## example("stime", package="mrgsolve")

mod <- mrgsolve::house(end=12, delta=2, add=c(11,13,15))

stime(mod)

mrgsolve

Simulate from ODE-Based Models

v0.11.1
GPL (>= 2)
Authors
Kyle T Baron [aut, cre] (<https://orcid.org/0000-0001-7252-5656>), Bill Gillespie [ctb], Charles Margossian [ctb], Devin Pastoor [ctb], Bill Denney [ctb] (<https://orcid.org/0000-0002-5759-428X>), Dilawar Singh [ctb], Felicien Le Louedec [ctb] (<https://orcid.org/0000-0003-3699-2729>), Timothy Waterhouse [ctb] (<https://orcid.org/0000-0002-0954-9660>), Metrum Research Group [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.