Re: [Rd] No is.formula()

From: A.J. Rossini <rossini_at_blindglobe.net>
Date: Thu 26 Aug 2004 - 07:33:23 EST

"Warnes, Gregory R" <gregory_r_warnes@groton.pfizer.com> writes:

> There appears to be no "is.formula()" function in R-1.9.1. May I suggest
> that
>
> is.formula <- function(x) inherits(x, "formula")
>
> be added to base, since formula is a fundimental R type?

why not just

    is(x,"formula")

?

best,
-tony

-- 
Anthony Rossini			    Research Associate Professor
rossini_at_u.washington.edu            http://www.analytics.washington.edu/ 
Biomedical and Health Informatics   University of Washington
Biostatistics, SCHARP/HVTN          Fred Hutchinson Cancer Research Center
UW (Tu/Th/F): 206-616-7630 FAX=206-543-3461 | Voicemail is unreliable
FHCRC  (M/W): 206-667-7025 FAX=206-667-4812 | use Email

CONFIDENTIALITY NOTICE: This e-mail message and any attachme...{{dropped}}

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu Aug 26 07:30:16 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 08:59:23 EST