Skip to content
Prev 5958 / 398498 Next

test for a formulae

On Fri, 2 Jun 2000, Prof Brian D Ripley wrote:

            
And if you want to ensure that it is ~X+Z+W rather than Y~X+Z+W you can
use
 inherits(obj,"formula") && (length(obj)==2)


	-thomas

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._