Description Usage Arguments Author(s)
Generate vegetation type map
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | vegTypeMapGenerator(x, ...)
## S3 method for class 'RasterStack'
vegTypeMapGenerator(x, ..., doAssertion = getOption("LandR.doAssertion", TRUE))
## S3 method for class 'data.table'
vegTypeMapGenerator(
x,
pixelGroupMap,
vegLeadingProportion = 0.8,
mixedType = 2,
sppEquiv = NULL,
sppEquivCol,
colors,
pixelGroupColName = "pixelGroup",
doAssertion = getOption("LandR.assertions", TRUE),
...
)
|
x |
Either a |
... |
Additional arguments. |
doAssertion |
A logical indicating whether some internal tests should be run to
ensure the function is running correctly.
Default: |
pixelGroupMap |
A |
vegLeadingProportion |
Numeric between 0-1, determining the relative biomass threshold a species needs to pass to be considered "leading". |
mixedType |
An integer defining whether mixed stands are of any kind of species admixture (1), or only when deciduous mixed with conifer (2). Defaults to 2. |
sppEquiv |
table with species name equivalencies between the kNN and final naming formats.
See |
sppEquivCol |
the column name to use from |
colors |
A named vector of colour codes. The names MUST match the names of species
in |
pixelGroupColName |
Name of the column in |
Eliot McIntire, Ceres Barros, Alex Chubaty
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.