set.species.map {rconifers}R Documentation

Set and update the species mapping table in the CONIFERS simulator

Description

This function assigns the mapping of user defined species codes to the functional species within the CONIFERS growth model.

Usage

set.species.map( variant )

Arguments

variant 0 or 1:
0
indicator for SWO variant
1
indicator for SMC variant

Details

The set.species.map is how the user controls the behavior of the functional species that is used to project individual plants forward. The idx *must* be a zero-offset index vector which is assigned the element SPECIES_RECORD[idx] in the model. This function is used to control the mapping between the user species code and the functional species codes in the growth model.

Value

no value is returned.

Author(s)

Jeff D. Hamann jeff.hamann@forestinformatics.com,
Martin W. Ritchie mritchie@fs.fed.us

References

Ritchie, M.W. 2008. User's Guide and Help System for CONIFERS: A Simulator for Young Conifer Plantations Version 4.10. See http://www.fs.fed.us/psw/programs/ecology_of_western_forests/projects/conifers/

See Also

calc.max.sdi, impute, plants.smc, plots.smc plants.swo, plots.swo, rconifers, sample.data, set.variant, smc, summary.sample.data, swo

Examples

library( rconifers )
# Example 1
## set the variant to the SWO variant and set species map
set.species.map( set.variant(0))

# Example 2
## set the variant to the SMC variant
set.species.map( set.variant(1))


[Package rconifers version 1.0.0 Index]