calc_next_timeval_shift: Calculates when the next timestep will be, and if a shift has...

Description Usage Arguments Value Author(s)

View source: R/DAISIE_rates.R

Description

Calculates when the next timestep will be, and if a shift has occured.

Usage

1
calc_next_timeval_shift(max_rates, timeval, dynamic_shift_times)

Arguments

max_rates

named list of max rates as returned by update_rates.

timeval

current time of simulation

dynamic_shift_times

numeric vector of times of rate shifts.

Value

named list with numeric vector containing the time of the next timestep and the change in time.

Author(s)

Joshua Lambert, Pedro Neves, Shu Xie


DAISIE documentation built on Aug. 26, 2020, 5:12 p.m.