seasonFilter: Subsetting data during given season for each year (seasonal...

View source: R/seasonalTools.R

seasonFilterR 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 transfData.

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


smam documentation built on May 29, 2024, 2:17 a.m.

Related to seasonFilter in smam...