<rkevinburton <at> charter.net> writes:

> 
> Given a Date object or simply a year is there an R function to tell me if the
it is a leap year or not? I was hoping
> for something like 'is.leapyear'. I probably can build my own function (year
divisible by 4 etc.) but I
> would rather use an existing function if it is available.

Simply try "leap year" on R site search. Many alternatives are offered, package
chron has probably the most standard one.

Dieter

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to