The R Project SVN R-packages

Rev

Rev 6179 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

## allow backticks in rpart.matrix: see
## https://stat.ethz.ch/pipermail/r-help/2012-May/314081.html

library(rpart)
Iris <- iris
names(Iris) <- sub(".", " ", names(iris), fixed=TRUE)
rpart(Species ~ `Sepal Length`, data = Iris)