sp.classification | R Documentation |
Classifies the tree species into four species groups
sp.classification(tree.sp, species.spruce, species.pine, species.harw)
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 . |
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'.
Clara Anton Fernandez caf@nibio.no
sp.classification(tr$tree.sp, species.spruce = c(1,15),
species.pine = c(2,34),
species.harw = c(3,4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.