参考资料:
随机森林(2)R实战 [https://www.yuque.com/biotrainee/biostat/chapter3-24]
关于决策树及随机森林模型的理论基础可以参考优雅R 微信公众号文章:https://mp.weixin.qq.com/s/fHDxqOOTW2CbKbSDVOD0bg
1、数据
> data1 success_rate body.mass..g..x Migration.distance..km.. Mass...average...g Length...average...mm1 0.0000000 30.0 6052.5 36.00 195.02 0.0000000 8.6 19.8 8.00 140.03 0.9453125 1141.0 1678.2 1082.00 NA4 0.0000000 54.5 1238.7 57.75 181.05 0.9981481 354.5 0.0 358.70 NA...
<