R: Aligns dates of time series to a reference date

.sits_align_dates {sits} | R Documentation

## Aligns dates of time series to a reference date

### Description

Converts the time indexes of a set of sits tibble to a single reference year. This function is useful to join many time series from different years to a single year, which is required by methods that combine many time series, such as clustering methods. The reference year is taken from the date of the start of the time series available in the data cube.

### Usage

    .sits_align_dates(data, ref_dates)

### Arguments

`data` | Input sits tibble (useful for chaining functions).
`ref_dates` | Dates to align the time series.

### Value

The converted sits tibble

### Author(s)

Gilberto Camara, gilberto.camara@inpe.br

[Package sits version 0.11.0 Index]