get_prefs: Set diet preference slots in a Predator object.

Description Usage Arguments Value See Also

View source: R/MICE_initialization.R

Description

The function reads values from a simulationParams-class object and fills the dietary preference slots in the Predator object.

Usage

1
get_prefs(Predator, simParams)

Arguments

Predator

A Predator object.

simParams

A simulationParams object containing input data.

Value

A modified Predator object, with diet preference slots filled.

See Also

get_params for reading in parameter values and set_species for calling both functions.

Other parameter setting: get_params, initialize_N, set_simParam, set_species


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