rang_oob_err | R Documentation |
Returns a table of out-of-bag error rates for a ranger random forest using number of trees
from 5 to all trees in steps of 5. The supplied ranger object must have been created with
keep.inbag = TRUE
argument.
rang_oob_err(rf, data, start = 5L, by = 5L, plot = TRUE)
rf |
A ranger random forest object, created with |
data |
A data frame used to fit |
start, by |
Error rates are evaluated for number of trees from |
plot |
Optional logical. Output a plot or not. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.