Skip to contents

A "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) <- value

Arguments

data

Class vector data cube.

value

A character vector used to convert labels.

Author

Gilberto Camara, gilberto.camara@inpe.br