| sits_mutate_bands {sits} | R Documentation |
Adds new bands and preserves existing in the time series
of a sits tibble using dplyr::mutate function.
sits_mutate_bands(data, ...)
data |
Valid sits tibble. |
... |
Expressions written as 'name = value'.
See |
A sits tibble with same samples and the selected bands.
Rolf Simoes, rolf.simoes@inpe.br
# Retrieve data for time series with label samples in Mato Grosso in Brazil
data(samples_modis_4bands)
# Generate a new image with the SAVI (Soil-adjusted vegetation index)
ndwi.tb <- sits_mutate_bands(samples_modis_4bands,
NDWI = (1.5 * (NIR - MIR) / (NIR + MIR)))