calc_roc.rfsrc(object, yvar, which.outcome = "all", oob = TRUE)
rfsrc
or
predict.rfsrc
object
containing predicted responsegg_roc
object
This is a helper function for the gg_roc
functions, and not intended
for use by the end user.
calc_auc
gg_roc
plot.gg_roc
## Taken from the gg_roc example
rfsrc_iris <- rfsrc(Species ~ ., data = iris)
#data(rfsrc_iris)
gg_dta <- calc_roc.rfsrc(rfsrc_iris, rfsrc_iris$yvar, which.outcome=1, oob=TRUE)
gg_dta <- calc_roc.rfsrc(rfsrc_iris, rfsrc_iris$yvar, which.outcome=1, oob=FALSE)
Run the code above in your browser using DataLab