Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

CutSeason

A function to cut time series by visual estimation


Description

This function allows to cut a yearly time series where multiple cycles are apparent into separated time series. This is done by visual estimation using locator function.

Usage

CutSeason(data, plot = FALSE)

Arguments

data

A data.frame, ideally a yearly time series of daily values.

plot

Should a plot be returned? If so different colors for different splits are returned.

Details

This function allows to split a season of data according to visual estimation. The required time series is plotted and a call to locator enables the user to click on the split. A list is returned with a number of data.frames. See locator for details on how to switch off the on-screen locator, which depends upon the graphic device. Note that all breaks must be provided, i.e. at the beginning and end of the sub-seasonal cycle(s).

Value

A list with n data.frames, where n is the number of splits

Author(s)

Gianluca Filippa <gian.filippa@gmail.com>

See Also


phenopix

Process Digital Images of a Vegetation Cover

v2.4.2
GPL-2
Authors
Gianluca Filippa, Edoardo Cremonese, Mirco Migliavacca, Marta Galvagno, Matthias Folker, Andrew D. Richardson, Enrico Tomelleri
Initial release
2020-09-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.