Learn R Programming

twinsvm (version 0.0.2)

coef.tsvm: Extract Twin-SVM Coefficients

Description

Extract Twin-SVM Coefficients

Usage

# S3 method for tsvm
coef(object, ...)

Value

A list with the two plane coefficients.

Arguments

object

A fitted tsvm object.

...

Unused.

Examples

Run this code
dat <- gen_moons(30)
fit <- tsvm(dat$x, dat$y)
coef(fit)

Run the code above in your browser using DataLab