isEndOfMonth: Test for end-of-month

View source: R/RcppExports.R

isEndOfMonthR Documentation

Test for end-of-month

Description

Test a vector of dates for end-of-month

Usage

isEndOfMonth(dates)

Arguments

dates

A Date vector with dates to be examined

Details

This function takes a vector of dates and returns a logical vector of the same length indicating at each position whether the corresponding date is at the end of a month in the currently active (global) calendar.

Value

A logical vector indicating which dates are end-of-month

Examples

isEndOfMonth(Sys.Date()+0:6)

RcppQuantuccia documentation built on Oct. 20, 2022, 1:07 a.m.