tDyn {miaSim}R Documentation

Generate simulation times and the indices of time points to return in simulation functions.

Description

Generate simulation times and the indices of time points to return in simulation functions.

Usage

tDyn(t.start = 0, t.end = 1000, t.step = 0.1, t.store = 1000)

Arguments

t.start

Numeric scalar indicating the initial time of the simulation. (default: t.start = 0)

t.end

Numeric scalar indicating the final time of the dimulation (default: t.end = 1000)

t.step

Numeric scalar indicating the interval between simulation steps (default: t.step = 0.1)

t.store

Integer scalar indicating the number of evenly distributed time points to keep (default: t.store = 100)

Value

lists containing simulation times (t.sys) and the indices to keep.

Examples

Time <- tDyn(t.start = 0, t.end = 100, t.step = 0.5, t.store = 100)
DefaultTime <- tDyn(t.start = 0)


[Package miaSim version 0.99.1 Index]