[R] is.Date ?!!!

Omar Lakkis uofiowa at gmail.com
Wed Jul 20 17:18:07 CEST 2005


The type of date I am asking about is the result of an as.Date(). 
inherits(x, "Date")
and 
is(variable, "Date")
works for me. Thank you all.

On 7/20/05, Uwe Ligges <ligges at statistik.uni-dortmund.de> wrote:
> Omar Lakkis wrote:
> 
> > Is there a way to test if a variable is a date?
> 
> 
>   is(variable, "Date")
> 
> Uwe Ligges
> 
> 
> > ______________________________________________
> > R-help at 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-guide.html
> 
>




More information about the R-help mailing list