Displaying 1 result from an estimated 1 matches for "natursyn".
2009 Aug 05
1
Decision boundaries for lda function?
...y. 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.
> library(MASS)
> AA<-read.table("http://www.natursyn.dk/online/fingerprinting.txt",header=T)
> aa.lda<-lda(as.matrix[3:9],AA$group)
> aa.ld<-predict(aa.lda,dimen=2)$x
> eqscplot(aa.ld,type="n",xlab="LD1", ylab="LD2",las=1)
> text(aa.ld,c(rep('f',13),rep('b',10),rep('p',1...