miceRanger (version 1.3.4)

plotModelError: plotModelError

Description

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

Usage

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

Run this code
# NOT RUN {
data("sampleMiceDefs")
plotModelError(sampleMiceDefs)
# }

Run the code above in your browser using DataLab