calendar {rtv}R Documentation

Calendar Operations

Description

Most of these are self-explanatory. Arguments need not be the same length.

Usage

is.leap (year)
ndays.year (year)
ndays.month (year, month)
cumdays.month (year, month, inclusive=TRUE)
date.to.dow (year, month, day)
date.to.doy (year, month, day)
doy.to.date (year, doy)
dow.correction (dow)

Arguments

year
month
day Day of the month.
dow Day of the week. Mon->1, Tue->2, ..., Sun->7.
doy Day of the year. Jan01->1.
inclusive Include or exclude the given month.

[Package rtv version 0.3.1 Index]