
Get array indices for a time range in a MizerSim object
Source:R/rate_functions.R
get_time_elements.RdInternal helper to select the saved time points whose times lie between the
smallest and largest values in time_range, inclusive.
Arguments
- sim
A MizerSim object.
- time_range
A numeric or character vector of times. Only the range of values matters, so all saved times between
min(time_range)andmax(time_range)are selected.- slot_name
Obsolete, kept only for backward compatibility with early versions where different time-based slots could have different time grids. Leave at the default.