Learn R Programming

CoSMoS (version 2.1.2)

stratifySeasonData: Stratify timeseries by season

Description

Stratify timeseries by season

Usage

stratifySeasonData(TS, season)

Arguments

TS

time series

season

name of the season

Examples

Run this code

x <- data.frame(date = seq(Sys.Date(), by = 'day', length.out = 1000),
                value = rnorm(1000))

stratifySeasonData(x, 'month')

Run the code above in your browser using DataLab