Description Usage Arguments Value Methods (by class) See Also Examples
Set initial parameter values in Species objects.
The default method sets parameter values in a Species object. It calls functions to read in parameters from input files, and to initialize arrays.
The method for predators also reads in a predator's diet preferences (for prey species and the age-classes of those prey). Does not read in G.
The method for anchovy also reads in a set of recruitment residuals.
1 2 3 4 5 6 7 8 9 10  | set_species(species, params, ...)
## S4 method for signature 'Species,simulationParams'
set_species(species, params, ...)
## S4 method for signature 'Predator,simulationParams'
set_species(species, params, preynames)
## S4 method for signature 'Anchovy,simulationParams'
set_species(species, params, preynames)
 | 
... | 
 Other arguments (from child methods).  | 
species. | 
 A Species object.  | 
params. | 
 A simParams object.  | 
A child method, depending on signature.
species = Species,params = simulationParams: Default method.
species = Predator,params = simulationParams: Also reads in diet preferences.
species = Anchovy,params = simulationParams: Also reads in recruitment residuals.
Other parameter setting: get_params,
get_prefs, initialize_N,
set_simParam
1  | speciesA<-set_species(speciesA)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.