Learn R Programming

splusTimeDate (version 2.5.0-137)

is.monthend: The End of Month Day Information

Description

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

Usage

is.monthend(x)

Arguments

x
a "timeDate" object

Value

returns a logical vector indicating which element of x is an end-of-month day.

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