wom: Week of month

Description Usage Arguments Value Examples

View source: R/functions.R

Description

Get the week of the month - starting on Sunday - given a generally recognized time/Date/etc. format.

Usage

1
wom(x)

Arguments

x

a vector of times/Dates, etc

Value

a vector of the week of month for each x

Examples

1
2
dates <- Sys.Date() + 1:30
data.frame(dates = dates, wom = wom(dates))

noahbullock/noahfuncs documentation built on May 23, 2019, 9:29 p.m.