Learn R Programming

splusTimeDate (version 2.5.8)

is.monthend: The End of Month Day Information

Description

Indicates whether a "timeDate" object falls on a month end.

Usage

is.monthend(x)

Value

returns a logical vector indicating which element of x

is an end-of-month day.

Arguments

x

a "timeDate" object

See Also

holidays, weekdays.

Examples

Run this code
is.monthend(timeDate(c("1/1/1958", "1/31/1958", "2/10/1958")))

Run the code above in your browser using DataLab