CutSeason: A function to cut time series by visual estimation

Description Usage Arguments Details Value Author(s) See Also

View source: R/CutSeason.R

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

1

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 dataframes. 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 subseasonal cycle(s).

Value

A list with n dataframes, where n is the number of splits

Author(s)

Gianluca Filippa <gian.filippa@gmail.com>

See Also

PasteSeason


phenopix documentation built on May 2, 2019, 4:50 p.m.