Learn R Programming

sits (version 1.4.0)

sits_bands: Get the names of the bands

Description

Finds the names of the bands of a set of time series or of a data cube

Usage

sits_bands(x)

# S3 method for sits sits_bands(x)

# S3 method for raster_cube sits_bands(x)

# S3 method for patterns sits_bands(x)

# S3 method for sits_model sits_bands(x)

sits_bands(x) <- value

# S3 method for sits sits_bands(x) <- value

# S3 method for raster_cube sits_bands(x) <- value

Value

A vector with the names of the bands.

Arguments

x

Valid sits tibble (time series or a cube)

value

New value for the bands

Author

Gilberto Camara, gilberto.camara@inpe.br

Rolf Simoes, rolf.simoes@inpe.br

Examples

Run this code
bands <- sits_bands(point_mt_6bands)
bands[[5]] <- "EVI2"
sits_bands(point_mt_6bands) <- bands

Run the code above in your browser using DataLab