SPP.func: Returns Species SPPtype, Shade Tolerance, Standard Gravity,...

View source: R/SPP.func.R

SPP.funcR Documentation

Returns Species SPPtype, Shade Tolerance, Standard Gravity, wd, and Waterlog Values

Description

This function returns species values which are dependencies for other more complex functions. These values include whether a species is a hardwood or softwood, a species standard gravity, and coefficients for shade, drought, waterlog, and wd. Some of these coefficients may be valuable on their own, but they are grouped together to simplify function calls for other more complex functions in this inventory package.

Usage

SPP.func(SPP)

Arguments

SPP

Species: use FVS species codes

Value

This function returns a vector of length 5. SPtype 1, : shade 2, : sg 3, : wd 4, : waterlog 5, : drought 6

Examples

x <- c("BF", "BF", "RO", "RS", "RO")
sppinfo <- sapply(x, SPP.func)
HW_SW <- as.vector(sppinfo[1,])

SPP.func("BA")


ryanmismith/inventoryfunctions documentation built on Aug. 5, 2022, 2:22 a.m.