Learn R Programming

sits (version 1.12.0)

.sits_match_indexes: Find indexes in a timeline that match the reference dates

Description

For correct classification, the time series of the input data set should be aligned to that of the reference data set (usually a set of patterns). This function aligns these data sets so that shape matching works correctly

Usage

.sits_match_indexes(timeline, ref_dates.lst)

Arguments

timeline

Timeline of input observations (vector).

ref_dates.lst

A list of breaks that will be applied to the input data set.

Value

A list of indexes that match the reference dates to the timelines.