Hi,
I am using the lda function from the MASS library. I would to find the
decision boundaries of each class and subsequently plot them. I wonder if
anybody can offer any help on this topic?
Below I applied the lda function on a small dataset of mine.
Any help will be much appreciated.
> lib
I got hold of 'Modern Applied Statistics with S' by Venables and Ripley (p.
335-336) and I was able to answer my own question:
###
AA<-read.table("http://www.natursyn.dk/online/fingerprinting.txt",header=T)
aa.grp <- factor(c(rep('f',13),rep('b',10),rep('p',10)))
aa.lda<-lda(as.matrix(AA[3:9]),
2 matches
Mail list logo