sp.classification: Species classifcation

Description Usage Arguments Value Author(s) Examples

Description

Classifies the tree species into four species groups

Usage

1
sp.classification(tree.sp, species.spruce, species.pine, species.harw)

Arguments

tree.sp

Tree species code.

species.spruce

A vector with the codes used to define 'spruce' group .

species.pine

A vector with the codes used to define 'pine' group .

species.harw

A vector with the codes used to define the 'birch' group .

Value

Returns a vector with the classification of tree.sp into one of these four groups: spruce, pine, birch, and other. spruce group is defined by species.spruce, pine group is defined by species.pine, and birch is defined by species.harw. If a species does not fall within any of these three groups is classified as 'other'.

Author(s)

Clara Anton Fernandez caf@nibio.no

Examples

1
2
3
sp.classification(tr$tree.sp, species.spruce = c(1,15),
                           species.pine = c(2,34),
                           species.harw = c(3,4))

cantonfe/sitree documentation built on Dec. 26, 2021, 8:55 a.m.