sits_labels-set-.class_vector_cube: Change the labels of a class vector data cube

sits_labels<-.class_vector_cubeR Documentation

Change the labels of a class vector data cube

Description

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 replacement 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(s)

Gilberto Camara, gilberto.camara@inpe.br


sits documentation built on Jan. 14, 2026, 5:06 p.m.