set_species: Set initial parameter values in Species objects.

Description Usage Arguments Value Methods (by class) See Also Examples

Description

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.

Usage

 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)

Arguments

...

Other arguments (from child methods).

species.

A Species object.

params.

A simParams object.

Value

A child method, depending on signature.

Methods (by class)

See Also

Other parameter setting: get_params, get_prefs, initialize_N, set_simParam

Examples

1
speciesA<-set_species(speciesA)

jcpayne/mice-models documentation built on May 18, 2019, 10:25 p.m.