seasonFilter {smam} | R Documentation |
Subsetting data during given season for each year (seasonal analysis toolbox)
Description
Return subsets of data from each year, which is in given
time interval between startDate
and endDate
.
Usage
seasonFilter(data, startDate, endDate)
Arguments
data |
The data be filtered, which has the same format
as the output from |
startDate , endDate |
Start point and end point of time interval during a year, which has the format "MM-DD". |
Value
A data.frame
with inputted data and additional
column 'BATCH' indicates which subset of inputted data is located
within given time interval. In column 'BATCH', different integers
stands for different segments and 0 stands for outside given time
interval.
Author(s)
Chaoran Hu
[Package smam version 0.7.2 Index]