weekFactor: Create a week-of-the-year factor from zoo or xts object

View source: R/weekFactor.R

weekFactorR Documentation

Create a week-of-the-year factor from zoo or xts object

Description

Create a week-of-the-year factor from zoo or xts object

Usage

weekFactor(z)

Arguments

z

A zoo or xts object

Value

A factor with levels 1, ..., 53.


pteetor/tutils documentation built on April 25, 2024, 9:14 a.m.