Displaying 1 result from an estimated 1 matches for "zgcppr273k".
2007 Aug 20
1
LDA decission boundaries
...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(data.ld$x,data.ld$class)
library(rggobi)
data.g <- ggobi(data.ldd)
The problem is that I do not know how to...