Description Usage Arguments Value
createTrainingSetRGB
creates a vector of integer classes from a vector of character classes.
1 | classesToIntegers(classes)
|
|
a character string of landscape classes (e.g. "Grass", "Trees", "Water", "Road", "Building"). |
The function returns a character vector of the same length as classes
, but where each unique string has been replaced by an integer (starting from 1).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.