Setting multiple resources

resource_params() `resource_params<-`()

Resource parameters

setMultipleResources() resource_capacity() `resource_capacity<-`() resource_rate() `resource_rate<-`() resource_interaction() `resource_interaction<-`() initialNResource() `initialNResource<-`()

Set up multiple resources

newMRParams()

Create a new multi-resource, multi-species model

Accessing results of simulations

NResource() finalNResource()

Access resource abundances in simulation result

plotSpectra() plotlySpectra()

Plot the abundance spectra

animateSpectra()

Animation of the abundance spectra

Internal helper functions

validResourceParams()

Validate resource parameter data frame

valid_initial_resource()

Return valid initial resource array

valid_resource_capacity()

Return valid resource capacity array

valid_resource_interaction()

Return valid resource interaction array

valid_resource_rate()

Return valid resource rate array

valid_resources_arg()

Helper function to assure validity of resources argument

set_resource_param_default()

Set a resource parameter to a default value