Displaying 2 results from an estimated 2 matches for "ld1xld2".
2008 Jun 02
1
LDA and centroids
Hello,
I have carried out an lda analysis using the lda function of MASS
package. I have plotted the LD1xLD2 to represent the data. Now I would
like to get the centroids for each group of data and plot it on the
LD1xLD2 graph. How can I get the centroid value from the lda object?
Best,
Dani
--
Daniel Valverde Saub?
Grup de Biologia Molecular de Llevats
Facultat de Veterin?ria de la Universitat Aut?n...
2007 Aug 20
1
LDA decission boundaries
Hello,
I would like to plot the results of a LDA analysis plotting the
discriminant scores with the decission boundaries on it with rggobi. I
have GGobi already installed on my computer. I have three classes, so
the plot would be LD1xLD2 plus the decission boundaries. Here there is
the code I use make the plot:
library(MASS)
data <- zgcppr273K.pca$x[,1:7]
Tumor <- c(rep("MM",23),rep("GBM",25),rep("LGG",17))
data.lda <- lda(data,Tumor)
data.ld <- predict(data.lda)
data.ldd <- data.frame(...