summary.vda.r: Summary for a vda.r object

Description Usage Arguments Details Author(s) See Also Examples

Description

Takes a fitted vda.r object produced by vda.r and produces various useful summaries from it.

Usage

1
2
## S3 method for class 'vda.r'
summary(object, ...)

Arguments

object

An object of class 'vda.r', usually the result of a call to vda.r.

...

Not used.

Details

The function prints the number of cases, the number of classes, and the number of features in object, of class vda.r. 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.

Author(s)

Edward Grant, Xia Li, Kenneth Lange, Tong Tong Wu

Maintainer: Edward Grant edward.m.grant@gmail.com

See Also

vda.r, print.vda.r

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# 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.r(x, y)

summary(out)


Search within the VDA package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.