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
 4
 5
 6
 7
 8
 9
10
11
12
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/jrAnalytics documentation built on Jan. 27, 2020, 5:04 a.m.