Learn R Programming

VDA (version 1.01)

summary.VDA_LE: Summary for a VDA_LE object

Description

Takes a fitted VDA object produced by VDA_LE and produces various useful summaries from it.

Usage

## S3 method for class 'VDA_LE':
summary(object, ...)

Arguments

object
An object of class 'VDA_LE', usually the result of a call to VDA_LE.
...
Not used.

Details

The function prints the number of cases, the number of classes, and the number of features in object, of class VDA_LE. It also prints the lambda used in the analysis. Additionally, it prints the coefficients and the resulting predictions made by Vertex Discriminant Analysis on the training set and the following training error.

See Also

VDA_LE, print.VDA_LE

Examples

Run this code
# load data
data(zoo)

# feature matrix without intercept
x<-zoo[,2:17]

# class vector
y<-zoo[,18]

#run VDA
out<-VDA_LE(x, y)

summary(out)

Run the code above in your browser using DataLab