[英]Classification Tree in R
Am totally new to R and I am trying to make use of classification trees for classifying some data. 对于R来说是全新的,我正在尝试利用分类树对某些数据进行分类。 What has me confused is what library to make use of. 我感到困惑的是要使用哪个库。 Should I make use of rpart or tree? 我应该使用rpart还是tree?
Use the rpart
package. 使用rpart
软件包。 The tree
package is included mainly for compatibility with older scripts. 包含tree
包主要是为了与旧脚本兼容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.