zip2image | R Documentation |
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
.
zip2image(zip, line)
zip |
|
line |
row of matrix to take |
16 x 16 matrix suitable as argument for image
.
Kjetil Halvorsen
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
## See example section of help file for zip.train
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.