Create raster of leading vegetation types and Plot
a bar chart summary
and a vegetation type map. NOTE: plot order will follow colors
order.
plotVTM(
speciesStack = NULL,
vtm = NULL,
vegLeadingProportion = 0.8,
sppEquiv,
sppEquivCol,
colors,
title = "Leading vegetation types"
)
A SpatRaster
, RasterStack
or RasterBrick
of percent-cover-by-species layers.
An optional vegetation type map (RasterLayer
or SpatRaster
).
If not supplied, will be produced internally by makeVegTypeMap
.
Numeric between 0-1, determining the relative biomass threshold a species needs to pass to be considered "leading".
table with species name equivalencies between the kNN and final naming formats.
See data("sppEquivalencies_CA", "LandR")
.
For functions that have mixedType
, this only necessary if mixedType == 2
.
If not provided and mixedType == 2
, will attempt to use data("sppEquivalencies_CA", "LandR")
.
the column name to use from sppEquiv
.
For functions that have mixedType
, only necessary if mixedType == 2
.
If not provided and mixedType == 2
, will attempt to use "Boreal".
Named vector of colour codes, named using species names. NOTE: plot order will follow this order.
The title to use for the generated plots.