CutSeason | R Documentation |
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.
CutSeason(data, plot = FALSE)
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. |
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.frame
s. 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).
A list with n data.frame
s, where n is the number of splits
Gianluca Filippa <gian.filippa@gmail.com>
PasteSeason
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.