Thanks again
--
View this message in context:
http://r.789695.n4.nabble.com/LDA-and-confidence-ellipse-tp4671308p4671427.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/l
.
- Original Message -
From: Lluis
To: r-help@r-project.org
Cc:
Sent: Thursday, July 11, 2013 3:15 PM
Subject: Re: [R] LDA and confidence ellipse
Hi,
Thanks works like magic.
BTW
What is the confidence ellipses probability used?
--
View this message in context:
http://r.789695.n4.nabble.com
Hi,
Thanks works like magic.
BTW
What is the confidence ellipses probability used?
--
View this message in context:
http://r.789695.n4.nabble.com/LDA-and-confidence-ellipse-tp4671308p4671357.html
Sent from the R help mailing list archive at Nabble.com.
___
Hi,
May be this helps:
require(MASS)
require(ggplot2)
iris.lda<-lda(Species ~ Sepal.Length + Sepal.Width + Petal.Length +
Petal.Width, data = iris)
datPred<-data.frame(Species=predict(iris.lda)$class,predict(iris.lda)$x)
library(ellipse)
dat_ell <- data.frame()
for(g in levels(datPred$Species))
Hi,
I wish to add confidence ellipse on my LDA result of the iris data set.
Therefore:
Is there statistical logic to do that as I only wish it to make the species
separation more visable?
How can I add it to the script below (ggplot):
require(MASS)
require(ggplot2)
iris.lda<-lda(Species ~ Sepal.
5 matches
Mail list logo