| get_species_size_rate_from_sim | R Documentation |
Internal helper used by MizerSim rate methods whose one-time result is an
ArraySpeciesBySize. The helper applies the supplied rate function to each
selected time slice, stacks the results, and restores the appropriate mizer
array class when dimensions have not been dropped.
get_species_size_rate_from_sim(
sim,
time_range,
drop,
rate_fun,
value_name,
units = NULL,
type = NULL,
representation = "point"
)
sim |
A |
time_range |
A numeric or character vector of times. |
drop |
If |
rate_fun |
A function accepting a single simulation slice as returned by
|
value_name |
Name of the value stored in the returned array. |
units |
Optional units of the value stored in the returned array. |
type |
The kind of quantity the values are, see |
A time x species x size array, possibly with dimensions dropped.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.