Learn R Programming

twinsvm (version 0.0.2)

plot.tsvm: Plot a Twin-SVM Decision Boundary

Description

Plot a Twin-SVM Decision Boundary

Usage

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

Value

A ggplot object.

Arguments

x

A fitted tsvm object.

...

Unused.

Examples

Run this code
dat <- gen_moons(40)
fit <- tsvm(dat$x, dat$y)
plot(fit)

Run the code above in your browser using DataLab