completeSpeciesParams | R Documentation |
Sets defaults for missing but required species parameters.
completeSpeciesParams(species_params)
species_params |
The user-supplied species parameter data frame |
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 to w_max/4
w_min
is set to 0.001
alpha
is set to 0.6
interaction_resource
is set to 1
n
is set to 3/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).
species_params()
, validSpeciesParams()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.