The following is a minor modification of examples in the help for
"as.Date":
> x <- c("1jan1960", "2jan1960", "31mar1960", "30jul2006")
> z <- as.Date(x, "%d%b%Y")
> z< Sys.Date()
[1] TRUE TRUE TRUE FALSE
How's this?
spencer graves
Omar Lakkis wrote:
> I hav
I have a Date variable that I constructed with as.Date()
How ca I compare it to today (<,>,==) ?
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-gu