From ripley at stats.ox.ac.uk  Mon Sep 26 17:54:08 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon, 26 Sep 2005 16:54:08 +0100 (BST)
Subject: [Rd] is.Date function question
In-Reply-To: <433814FB.30904@vanderbilt.edu>
References: <433814FB.30904@vanderbilt.edu>
Message-ID: <Pine.LNX.4.61.0509261653180.23625@gannet.stats>

inherits(object, "Date") is all that is required.

We don't need to complicate R with such simple functions.

On Mon, 26 Sep 2005, Charles Dupont wrote:

> Why is there no is.Date function in R?  I am running 2.1.1 does it exist
> in newer version?  If there is a reasoning behind the lack of a is.Date
> function what is it?
>
> Thanks
>
> Charles
>
>
> -- 
> Charles Dupont         Computer System Analyst      School of Medicine
> Phone: (615) 936-6510  Department of Biostatistics   Vanderbilt University
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
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



[Rd] is.Date function question
Prof Brian Ripley