plotWeights: Plot the weights of all attributes from the trained SVM model

Description Usage Arguments

View source: R/plotsvmmaj.R

Description

Shows, one graph per attribute, the weights of all attributes. The type of graph depends on the type of the attribute: the spline line of the corresponding attribute in case a spline has been used, a bar plot for categorical and logical values, and a linear line for all other type of the attribute values. This function cannot be used in a model with a non-linear kernel.

Usage

1
plotWeights(object, plotdim = c(3, 3), ...)

Arguments

object

The model returned from svmmaj.

plotdim

A vector of the form c(nr, nc). Subsequent figures will be drawn in an nr-by-nc array on the device.

...

other parameters given to the plot function


SVMMaj documentation built on May 2, 2019, 9:58 a.m.