Create a new multi-resource, multi-species model
newMRParams(
species_params,
interaction = NULL,
resource_params,
resource_interaction = NULL,
gear_params = data.frame(),
no_w = 100,
min_w = 0.001,
max_w = NA
)
A data frame with the species parameters, with one row for each species.
Optional interaction matrix between species (predator species x prey species). Entries should be numbers between 0 and 1. By default all entries are 1.
A data frame with the resource parameters
Optional interaction matrix between species and resources (predator species x prey resource). By default all entries are 1.
A data frame with the gear parameters, with one row for each gear-species pair.
The number of size bins in the consumer spectrum.
Sets the size of the eggs of all species for which this is not
given in the w_min
column of the species_params
dataframe.
The largest size of the consumer spectrum. By default this is
set to the largest w_max specified in the
species_params` data
frame.
An object of class MizerMRParams