plotModelError: plotModelError

Description Usage Arguments Value Examples

View source: R/plotModelError.R

Description

Plot the Out Of Bag model error for specified variables over all iterations.

Usage

1
2
3
4
5
6
plotModelError(
  miceObj,
  vars = names(miceObj$callParams$vars),
  pointSize = 1,
  ...
)

Arguments

miceObj

an object of class miceDefs, created by the miceRanger function.

vars

the variables you want to plot. Default is to plot all variables. Can be a vector of variable names, or one of 'allNumeric' or 'allCategorical'

pointSize

passed to geom_point, allows user to change dot size.

...

other arguments passed to ggarrange()

Value

an object of class ggarrange.

Examples

1
2
data("sampleMiceDefs")
plotModelError(sampleMiceDefs)

miceRanger documentation built on Sept. 6, 2021, 5:07 p.m.