Learn R Programming

DAISIE (version 4.5.0)

calc_next_timeval: Calculates when the next timestep will be.

Description

Calculates when the next timestep will be.

Usage

calc_next_timeval(max_rates, timeval, total_time)

Value

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

Arguments

max_rates

named list of max rates as returned by update_rates.

timeval

current time of simulation

Author

Joshua Lambert, Pedro Neves, Shu Xie