plotModelError function

plotModelError

plotModelError

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

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()

Returns

an object of class ggarrange.

Examples

data("sampleMiceDefs") plotModelError(sampleMiceDefs)
  • Maintainer: Sam Wilson
  • License: MIT + file LICENSE
  • Last published: 2021-09-06