calc_next_timeval: Calculates when the next timestep will be.

View source: R/DAISIE_rates.R

calc_next_timevalR Documentation

Calculates when the next timestep will be.

Description

Calculates when the next timestep will be.

Usage

calc_next_timeval(max_rates, timeval)

Arguments

max_rates

named list of max rates as returned by update_rates.

timeval

current time of simulation

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 June 2, 2022, 5:07 p.m.