View source: R/setParameters.R
setParameters | R Documentation |
Set Parameters for Insect Life Cycle Model.
This function sets various parameters for running in the piner
function.
setParameters(species = NULL)
species |
A character string representing the species of interest. Currently supported species are "spruce" and "pine". |
A list containing various model parameters for different life stages, such as mean and standard deviation values for the duration of each stage, temperature thresholds, and feeding values. See associated vignette for a detailed list of all the parameters.
# Set parameters for the spruce species
spruce_params <- setParameters(species = "spruce")
# Set parameters for the pine species
pine_params <- setParameters(species = "pine")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.