View source: R/rate_functions.R
get_time_elements | R Documentation |
Internal function to get the array element references of the time dimension for the time based slots of a MizerSim object.
get_time_elements(sim, time_range, slot_name = "n")
sim |
A MizerSim object |
time_range |
A vector of times. Only the range of times is relevant, i.e., all times between the smallest and largest will be selected. The time_range can be character or numeric. |
slot_name |
Obsolete. Was only needed in early versions of mizer where the effort slot could have different time dimension from the other slots. |
Named boolean vector indicating for each time whether it is included in the range or not.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.