ElemStatLearn (version 2015.6.26.2)

zip2image: function to convert row of zip file to format used by image()

Description

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

line

row of matrix to take

Value

16 x 16 matrix suitable as argument for image.

Examples

Run this code
# NOT RUN {
## See example section of help file for zip.train
# }

Run the code above in your browser using DataLab