Skip to contents

Classification forests show overall and per-class error rates as percentages. Regression forests show mean squared error. If the fit stores test errors, dashed lines show the corresponding test series.

Usage

# S3 method for class 'randomForest'
hchart(object, ...)

Arguments

object

A supervised randomForest fit with an error history.

...

Highcharts line series options.

Value

A highchart htmlwidget.

Examples

set.seed(42)
forest <- randomForest::randomForest(Species ~ ., iris, ntree = 150)
hchart(forest)