boundary_plot: Convience function for creating boundary plots

Description Usage Arguments

Description

Convience function for creating boundary plots

Usage

1
2
3
boundary_plot(model, x, y, z, xlab = all.vars(formula(model))[2],
  ylab = all.vars(formula(model))[3], levels = 0.5, lwd = 2,
  jitter = TRUE, ...)

Arguments

model

A caret classification model

x

Data

y

Data

z

Observed values

xlab

X-axis label

ylab

Y-axis label

levels

contour levels, default prob=0.5

lwd

Line width of the contour plot

jitter

Default TRUE. Should the points be jittered.

...

Additional arguments passed to the contour function


jr-packages/jrPred documentation built on May 6, 2019, 7:17 a.m.