Learn R Programming

sits (version 0.13.0)

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

Description

For correct classification, the time series of the input data 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_timeline_match_indexes(timeline, ref_dates)

Arguments

timeline

Timeline of input observations (vector).

ref_dates

List of breaks to be applied to the input data set.

Value

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