[Rd] rpart package, text function, and round of class counts

2012-03-04 Thread yindalon
I run the following code: library(rpart) data(kyphosis) fit <- rpart(Kyphosis ~ ., data=kyphosis) plot(fit) text(fit, use.n=TRUE) The text labels represent the count of each class at the leaf node. Unfortunately, the numbers are rounded and in scientific notation rather than the exact number of e

[Rd] Loading externally created LIBSVM model into R.

2012-02-21 Thread yindalon
I used the c binary svm-train in LIBSVM to create a model file. How do I load this model file into R? Is there a function in R package e1071 that accomplishes this operation? Thanks, Yin -- View this message in context: http://r.789695.n4.nabble.com/Loading-externally-created-LIBSVM-model-into-