Skip to content

Reading data for discriminant analysis

3 messages · Clayton Springer, Peter Dalgaard

#
Dear R users,

I want to do discriminant analysis on my data. I have
successfully followed the discriminant analysis in V & R on
the iris data:
[1] 0.996498601 0.003501399
+ )
I believe that the iris3 is rather special data format. 
But I am unable to get a text file to become something like iris3.
I would like to be able to formulate my data into a useable format. 
What is the proper procedure to create iris3 from external sources.

Thanks for your help,


Clayton Springer

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Clayton Springer <csprin at brandybuck.ca.sandia.gov> writes:
library(MASS)
data(iris3)

(You need to install the VR bundle from CRAN first)
#
Peter,
I have already done this. (I have successfully worked through the example.)
What I would like to do is use myown data and work through a similar exercise.

--Clayton
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._