to/can 我如何使用 R 中的 randomForest 包得到整个森林的 OOB 错误

How to/can I get an OOB error for a whole forest witht he randomForest package in R

我有一个相当大的数据集,每个变量的缺失程度不同。我想 运行 基于缺失值对这个数据集的不同组合进行随机森林分析,然后对 OOB 误差对缺失值阈值进行敏感性分析。如何获取整个森林的 OOB 错误?

@Imo 回答如下:

"If you are doing classification, you might look at the err.rate vector. According to the documentation, the final value will be the OOB error for the whole forest"