zip2image {tensorBSS} | R Documentation |
function to convert row of zip file to format used by image()
Description
This .RD-file and the corresponding function are originally from the R-package ElemStatLearn which has now been removed from CRAN.
This is a utility function converting zip.train/zip.test data
to format useful for plotting with the function image
.
Usage
zip2image(zip, line)
Arguments
zip |
|
line |
row of matrix to take |
Value
16 x 16 matrix suitable as argument for image
.
Author(s)
Kjetil Halvorsen
References
Kjetil B Halvorsen (package maintainer) (2019), R-package ElemStatLearn: Data Sets, Functions and Examples from the Book: "The Elements of Statistical Learning, Data Mining, Inference, and Prediction" by Trevor Hastie, Robert Tibshirani and Jerome Friedman
Examples
## See example section of help file for zip.train
[Package tensorBSS version 0.3.8 Index]