Learn R Programming

VDA (version 1.3)

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

"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 zoo data
# column 1 is name, columns 2:17 are features, column 18 is class
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