View source: R/09-parameter-processing.R
| process_predator_params | R Documentation |
Process predator energy density parameters
process_predator_params(predator_params, n_days = NULL)
predator_params |
Raw predator parameters |
n_days |
Integer. Number of simulation days, used to build the energy density vector from 'ED_ini'/'ED_end' when PREDEDEQ = 1. If 'NULL' the vector is built lazily when the simulation starts. |
A list containing all elements of predator_params. For
PREDEDEQ 1, an ED_data numeric vector of length
n_days + 1 is added (or validated if already present). For
PREDEDEQ 2 and 3 the list is returned after validation with no
additional derived values.
process_predator_params(list(PREDEDEQ = 3, Alpha1 = 4800, Beta1 = 0.1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.