Learn R Programming

VDA (version 1.01)

print.VDA_LE: Print a VDA_LE object

Description

The default print method for a VDA_LE object.

Usage

## S3 method for class 'VDA_LE':
print(x, ...)

Arguments

x
Object of class 'VDA_LE', usually the result of a call to VDA_LE.
...
Not used.

Details

Prints out the predicted classes for given training data found using Vertex Discriminant Analysis. summary.VDA_LE provides more detailed information about the VDA object x.

References

Lange, K. and Wu, T.T. (2008) An MM Algorithm for Multicategory Vertex Discriminant Analysis. Journal of Computational and Graphical Statistics, Volume 17, No 3, 527-544.

See Also

VDA_LE, summary.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)

print(out)

Run the code above in your browser using DataLab