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

Description Usage Arguments Value Examples

View source: R/plot.MetaForest.R

Description

Plots cumulative MSE for a MetaForest object.

Usage

1
2
## 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

1

Example output

Loading required package: ggplot2
Loading required package: metafor
Loading required package: Matrix
Loading 'metafor' package (version 2.4-0). For an overview 
and introduction to the package please type: help(metafor).
Loading required package: ranger
Loading required package: data.table

metaforest documentation built on Jan. 8, 2020, 9:06 a.m.