Learn R Programming

svrpath (version 0.1.2)

plot.svrpath: plot the svrpath, solution paths of SVR as a function of lambda

Description

produces a plot of the SVR lambda path.

Usage

# S3 method for svrpath
plot(x, intercept = FALSE, ...)

Arguments

x

The svrpath object

intercept

If it is TRUE, then an intercept path plot is given.

...

Generic compatibility

Value

The entire solution path of SVR solution as a function of lambda.

Examples

Run this code
# NOT RUN {
# The 'obj' is given by examples description of svrpath().
plot(obj, lty = 2, lwd = 2, col = 2, cex.lab = 1.5) 
# }

Run the code above in your browser using DataLab