| sim_size_rate | R Documentation |
MizerSim rate getter that resolves the rate functions onceInternal helper capturing the pattern shared by the MizerSim rate getters
that return a species-by-size array. It validates the params and resolves the
rate functions a single time, then for each saved time step calculates only
the required target rate with mizer_rates_subset() and extracts the
element named slot from the result.
sim_size_rate(
sim,
time_range,
drop,
target,
slot,
value_name,
units = NULL,
type = NULL,
use_sim_effort = FALSE,
representation = "point",
...
)
sim |
A |
time_range |
Passed to the sim iteration helper. |
drop |
Passed to the sim iteration helper. |
target |
Name of the rate to calculate (as in |
slot |
Name of the element to extract from the |
value_name, units |
Metadata for the returned array. |
use_sim_effort |
If |
... |
Passed on to the rate functions. |
An ArrayTimeBySpeciesBySize object (or a reduced array if drop).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.