generatePixelGroups | R Documentation |
pixelGroups
to a pixelDataTable
objectGenerates unique groupings of a data.table
object where one or more rows can
all belong to the same pixelIndex
. Pixel groups will be identical pixels based
on unique combinations of columns
.
generatePixelGroups(
pixelDataTable,
maxPixelGroup,
columns = c("ecoregionGroup", "speciesCode", "age", "B")
)
pixelDataTable |
A |
maxPixelGroup |
A length 1 numeric indicating the current maximum |
columns |
A character vector of column names to use as part of the generation of unique
combinations of features. Default is |
Returns a vector of pixelGroup
in the original order of the input pixelDataTable
.
This should likely be added to the pixelDataTable
object immediately.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.