completeSpeciesParams {mizer} | R Documentation |
Complete species parameter data frame with default values
Description
Sets defaults for missing but required species parameters.
Usage
completeSpeciesParams(species_params)
Arguments
species_params |
The user-supplied species parameter data frame |
Value
A completed species parameter data frame
The function sets default values if any of the following species parameters are missing or NA:
-
w_mat
is set tow_max/4
-
w_min
is set to0.001
-
alpha
is set to0.6
-
interaction_resource
is set to1
-
n
is set to3/4
It calls validSpeciesParams()
to check the validity of the species
parameters. Nevertheless the species parameters returned by this function are not guaranteed
to produce a viable model. More checks of the parameters are performed by the
individual rate-setting functions (see setParams()
for the list of these
functions).
See Also
species_params()
, validSpeciesParams()
[Package mizer version 2.5.1 Index]