Learn R Programming

twinsvm (version 0.0.2)

plot.svms: Plot a Standard SVM Decision Boundary

Description

Plot a Standard SVM Decision Boundary

Usage

# S3 method for svms
plot(x, ...)

Value

A ggplot object.

Arguments

x

A fitted svms object.

...

Unused.

Examples

Run this code
dat <- gen_moons(40)
fit <- svms(dat$x, dat$y, kernel = "linear")
plot(fit)

Run the code above in your browser using DataLab