Learn R Programming

SpaDES.core (version 2.0.5)

minTimeunit: Determine the smallest timeunit in a simulation

Description

When modules have different timeunit, SpaDES automatically takes the smallest (e.g., "second") as the unit for a simulation.

Usage

minTimeunit(sim)

# S4 method for simList minTimeunit(sim)

# S4 method for list minTimeunit(sim)

Value

The timeunit as a character string. This defaults to "second" if none of the modules has explicit units.

Arguments

sim

A simList simulation object.

Author

Eliot McIntire