boundary_plot: Convience function for creating boundary plots

Description Usage Arguments

View source: R/boundary_plot.R

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/jrPredictive documentation built on Nov. 23, 2018, 11:31 p.m.