From rossini at blindglobe.net  Wed Aug 25 23:33:23 2004
From: rossini at blindglobe.net (A.J. Rossini)
Date: Wed Aug 25 23:27:31 2004
Subject: [Rd] No is.formula()
In-Reply-To: <D7A3CFD7825BD6119B880002A58F06C20C521A8C@groexmb02.pfizer.com>
	(Gregory R. Warnes's message of "Wed, 25 Aug 2004 17:15:03 -0400")
References: <D7A3CFD7825BD6119B880002A58F06C20C521A8C@groexmb02.pfizer.com>
Message-ID: <856576oqcc.fsf@servant.blindglobe.net>

"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@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}}


[Rd] No is.formula()
A.J. Rossini