Subsets ZooMSS model output to include only specified size range, useful for focusing analysis on particular size ranges.
Details
Extract Size Range from ZooMSS Output
This function extracts a subset of size classes from the specified ZooMSS model variable. Useful for analyzing specific size ranges (e.g., microzooplankton, mesozooplankton) or excluding boundary effects from model analysis. The function converts log10 size values to size class indices automatically.
Examples
if (FALSE) { # \dontrun{
# Run ZooMSS model
results <- zoomss_model(input_params, Groups)
# Extract mesozooplankton size range from abundance data
meso_abundance <- extractSizeRange(results, "N", min_size = -8, max_size = -5)
# Extract microzooplankton size range from growth data
micro_growth <- extractSizeRange(results, "Growth", min_size = -10, max_size = -8)
} # }