> Could you please tell me how to draw the decision boundaries in a scatterplot > of the original data for a LDA or Rpart object. > > For example: > > library(rpart) > >fit.rpart <- rpart(as.factor(group.id)~., data=data.frame(Data) ) >
You might want to have a look a classifly (http://had.co.nz/classifly/) which will do this in high dimensions. (You will need to install ggobi for it to work, however) Hadley ______________________________________________ [email protected] 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.
