Skip to contents

Transform trace to time-series

Usage

time_series(trace, time_step = 0.5, cpp = TRUE)

Arguments

trace

List of objects of the state-class

time_step

Numeric denoting the time between each iteration. Defaults to 0.5 (the same as in simulate).

cpp

Logical denoting whether to use the Rcpp (TRUE) or R (FALSE) version of this function. Defaults to TRUE.

Examples

# This is my example