plot.MetaForest: Plots cumulative MSE for a MetaForest object.

View source: R/plot.MetaForest.R

plot.MetaForestR Documentation

Plots cumulative MSE for a MetaForest object.

Description

Plots cumulative MSE for a MetaForest object.

Usage

## S3 method for class 'MetaForest'
plot(x, y, ...)

Arguments

x

MetaForest object.

y

not used for plot.MetaForest

...

Arguments to be passed to methods, not used for plot.MetaForest

Value

A ggplot object, visualizing the number of trees on the x-axis, and the cumulative mean of the MSE of that number of trees on the y-axis. As a visual aid to assess convergence, a dashed gray line is plotted at the median cumulative MSE value.

Examples



cjvanlissa/metaforest documentation built on Jan. 28, 2024, 12:19 p.m.