Plotting LDA results
You asked why you could not get two discriminant functions and that question was answered. The number of discriminant functions is one less than the number of groups (assuming you have more variables than groups). Now you are asking a different question. How to plot the discriminant boundary between the groups in a plot of the original variables. Time to provide "provide commented, minimal, self-contained, reproducible code" [including data] as called for at the bottom of your message. ---------------------------------------------- David L Carlson Associate Professor of Anthropology Texas A&M University College Station, TX 77843-4352
-----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- project.org] On Behalf Of Meffy Sent: Wednesday, July 25, 2012 8:23 AM To: r-help at r-project.org Subject: Re: [R] Plotting LDA results Thank you! Still not clear...I can plot two of my data dimensions against each other where I see two separated clouds. So it must be possible to determine the coefficients of the dividing line from the model I get from lda(...), or am I completely wrong now...? -- View this message in context: http://r.789695.n4.nabble.com/Plotting- LDA-results-tp4637766p4637780.html Sent from the R help mailing list archive at Nabble.com.
______________________________________________ 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.