Learn R Programming

mizer (version 2.0.0)

get_time_elements: Get_time_elements

Description

Internal function to get the array element references of the time dimension for the time based slots of a MizerSim object.

Usage

get_time_elements(sim, time_range, slot_name = "n")

Arguments

sim

A MizerSim object

time_range

The time_range can be character or numeric.

slot_name

Necessary to include a slot_name argument because the effort and abundance slots have different time dimensions