Description Usage Arguments Value Author(s) Examples
View source: R/sits_timeline.R
For correct classification, the input time series 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
1 2 3 4 5 6 | sits_timeline_match(
timeline,
ref_start_date,
ref_end_date,
interval = "12 month"
)
|
timeline |
Timeline of input observations (vector). |
ref_start_date |
Reference for starting the classification. |
ref_end_date |
Reference for ending the classification. |
interval |
Period between two classification. |
A list of breaks that will be applied to the input data set.
Gilberto Camara, gilberto.camara@inpe.br
1 2 3 4 5 6 7 | # get a timeline for MODIS data
data("timeline_2000_2017")
# get a set of subsets for a period of 10 years
ref_start_date <- lubridate::ymd("2000-08-28")
ref_end_date <- lubridate::ymd("2000-08-13")
subset_dates.lst <- sits_timeline_match(timeline_2000_2017,
ref_start_date, ref_end_date)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.