This function converts from numeric times (i.e., 0, 1, 2, ...) to actual times or dates
numeric_to_time(x, origin, unit, ...)
a list of data frames as returned by bi_read
, but with real
times
a libbi
object which has been run, or a list of data
frames containing state trajectories (as returned by bi_read
)
the time origin, i.e. the date or time corresponding to time 0
the unit of time that each time step corresponds to; this must be
a unit understood by lubridate::period
, optionally with a number in
advance, e.g. "day" or "2 weeks" or "3 seconds"
any arguments for bi_read
(e.g., file
)