[R] What's the meaning of "Species ~ ." in IRIS data

S Ellison S.Ellison at lgc.co.uk
Thu Sep 30 15:15:58 CEST 2010


See ?lm and, more usefully, ?formula



>>> Gundala Viswanath <gundalav at gmail.com> 29/09/2010 15:51 >>>
I am refering to a function call like this:

>data(iris)
>x <- svmlight(Species ~ ., data = iris)

I tried to see the content of it by typing:

> Species ~ .

but it gives nothing.  How can I see it's content ?

- P.Dubois

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help 
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html 
and provide commented, minimal, self-contained, reproducible code.

*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}



More information about the R-help mailing list