parent
ef2bc1789a
commit
b3635d65c6
@ -0,0 +1,9 @@ |
|||||||
|
install.packages("rpart") |
||||||
|
library(rpart) |
||||||
|
#x11() |
||||||
|
formula = Species~. |
||||||
|
iris.df=rpart(formula, data=iris) |
||||||
|
iris.df |
||||||
|
plot(iris.df) |
||||||
|
text(iris.df, use.n=T, cex=0.7) |
||||||
|
post(iris.df) |
Loading…
Reference in new issue