Learn R Programming

sits (version 0.13.0)

.sits_timeline_dist_indexes: Indexes to extract data from a distance table for classification

Description

Given a list of time indexes that indicate the start and end of the values to be extracted to classify each band, obtain a list of indexes that will be used to extract values from a combined distance tibble (which has all the bands put together).

Usage

.sits_timeline_dist_indexes(class_info, ntimes)

Arguments

class_info

Tibble with classification information.

ntimes

Number of time instances.

Value

List of indexes to be extracted for each classification interval.