| print.dcsvm | R Documentation |
Prints a summary of the dcsvm object, showing the solution paths.
## S3 method for class 'dcsvm'
print(x, digits = max(3, getOption("digits") - 3), ...)
x |
A fitted |
digits |
Specifies the significant digits to use in the output. Default is |
... |
Additional arguments to |
Print a DCSVM Object
Print a summary of the dcsvm solution paths.
This function prints a two-column matrix with columns Df and Lambda. The Df column shows the number of nonzero coefficients, and the Lambda column displays the corresponding lambda value. It is adapted from the print function in the gcdnet and glmnet packages.
A two-column matrix with one column showing the number of nonzero coefficients and the other column showing the lambda values.
print.dcsvm, predict.dcsvm, coef.dcsvm, plot.dcsvm, and cv.dcsvm.
data(colon)
fit <- dcsvm(colon$x, colon$y)
print(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.