Change the labels of a class vector data cube
Source:R/sits_labels.R
sits_labels-set-.class_vector_cube.RdA "class_vector_cube" is a data cube with a set of segments that contain the probability values of each class for each polygon and also list the most probable class. When a user changes the labels of the class, this function modifies the labels associated to the cube's metadata and also changes the names in the segments file. The GPKG file containing the segments and the probability values is replace with a new file with the desired labels.
Usage
# S3 method for class 'class_vector_cube'
sits_labels(data) <- valueAuthor
Gilberto Camara, gilberto.camara@inpe.br