[R] test for a formulae

Paulo J. Ribeiro Jr p.ribeiro at lancaster.ac.uk
Fri Jun 2 15:28:13 CEST 2000

I'd like to check within a whether an argument is a formulae of the type
~X or similar.
What's the right way to do so?

I'm using: is.language(obj) but not sure this is right

Thanks in advance

Paulo Justiniano Ribeiro Jr
Dept Maths & Stats  -  Fylde College
Lancaster University
Lancaster LA1 4YF   -  U.K.

e-mail: paulojus at est.ufpr.br

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

More information about the R-help mailing list