[R] is.Date ?!!!

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jul 20 16:59:18 CEST 2005


If you mean of class "Date",  use inherits(x, "Date").

On Wed, 20 Jul 2005, Omar Lakkis wrote:

> Is there a way to test if a variable is a date?

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list