Skip to contents

Data

Data related functions and datasets

GroupInputs
Default functional groups for the ZooMSS model
getGroups()
Load default or custom functional groups for ZooMSS model
calculatePhytoParam()
Calculate phytoplankton abundance spectrum from chlorophyll data
createEnviroData()
Generate synthetic environmental data for ZooMSS testing
createInputParams()
Create input parameters data frame for ZooMSS model runs
validateGroups()
Validate ZooMSS functional groups data structure and values

Model Runs

Functions for running the model

zoomss_model()
Main ZooMSS model function for complete simulations

Plotting

Functions for plotting.

plotEnvironment()
Plot environmental forcing data
plotPPMR()
Visualize predator-prey mass ratio patterns in ZooMSS results
plotSizeSpectra()
Visualize abundance size spectra across functional groups
plotTimeSeries()
Unified function to visualize time series changes for different metrics

Data wrangling

Helper functions to convert units and data format

averageTimeSeries()
Calculate mean of final portion of ZooMSS time series
extractPPMR()
Calculate predator-prey mass ratio data for visualization
extractSizeRange()
Extract specific size class range from model variable
extractTrophicLevels()
Compute trophic levels for functional groups using diet composition
getBiomass()
Convert ZooMSS abundance matrices to biomass by multiplying by body weights
getGroups()
Load default or custom functional groups for ZooMSS model
reduceAll()
Aggregate abundances across all groups and size classes
reduceSize()
Aggregate ZooMSS abundances across all size classes
reduceSpecies()
Aggregate ZooMSS abundances across all species