最近坛子里提问前都不先看R自带的帮助么。。。
1. 25 是函数原型定义的默认值
2. 看文档
3. 你拿强分类做bagging当然可以,只能自己实现吧, 同理还有adaboost包。基础算法不变。
4. 文档里有引用: out-of-bag sample。
最重要的是文档Detail的第一句话
The random forest implementations ‘randomForest’ and ‘cforest’ are more flexible and reliable for computing bootstrap-aggregated trees than this function and should be used instead.