nthWeekdayOfMonth: Convert dates to Nth weekday of the month values

View source: R/skUtils.R

nthWeekdayOfMonthR Documentation

Convert dates to Nth weekday of the month values

Description

Computes which weekday of the month each date represents. E.g., for each "second monday of the month", it gives 2.

Usage

nthWeekdayOfMonth(x)

Arguments

x

Date(s) to convert.

Value

A vector of Nth weekday of the month values.

Author(s)

Sercan Kahveci

Examples

nthWeekdayOfMonth("2000-04-08")


Spiritspeak/skMisc documentation built on April 12, 2025, 5:40 a.m.