Learn R Programming

sits (version 1.12.0)

sits_ndwi: Builds normalized difference water index

Description

Adds new tasseled cap bands.

Usage

sits_ndwi(data.tb)

Arguments

data.tb

A valid sits tibble.

Value

A sits tibble with the SAVI index.

Examples

Run this code
# NOT RUN {
# Retrieve data for time series with label samples in Mato Grosso in Brazil
data(samples_mt_9classes)
# Generate a new image with the tasseled cap
ndwi.tb <- sits_ndwi(samples_mt_9classes)
# }

Run the code above in your browser using DataLab