nweek: Nth weekday of the month

Description Usage Arguments Value Examples

View source: R/nweek.R

Description

The given date is the Nth weekday of the month

Usage

1

Arguments

date

A numeric vector represents dates. The format is year month day, for example, 20190801.

Value

The data frame with two columns, date (date formate y-m-d), weekday, and the Nth weekday of the month.

Examples

1
nweek(c(20190101: 20190131))

placeboo/amplify documentation built on Oct. 6, 2020, 9:04 a.m.