2007/8/20, Dani Valverde <dani at carbon.uab.es>:> 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(data.ld$x,data.ld$class)
>
> library(rggobi)
> data.g <- ggobi(data.ldd)
>
> The problem is that I do not know how to plot the decission boundaries
> oh the graph I have made. I beg some answer as soon as you can, as it is
> a bit urgent.
> Best regards,
>
> Dani
>
> Daniel Valverde Saub?
> Grup d'Aplicacions Biom?diques de la Resson?ncia Magn?tica Nuclear
> (GABRMN)
> Departament de Bioqu?mica i Biologia Molecular
> Edifici C, Facultat de Bioci?ncies, Campus Universitat Aut?noma de
> Barcelona
> 08193 Cerdanyola del Vall?s, Spain
> Tlf. (0034) 935814126
> dani at carbon.uab.es
>
> [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>
>
May be your answer is in the classifly package.
Rod.