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

Description Usage Arguments Value Author(s) Examples

View source: R/zip2image.R

Description

This is a utility function converting zip.train/zip.test data to format useful for plotting with the function image.

Usage

1

Arguments

zip

zip.train or zip.test.

line

row of matrix to take

Value

16 x 16 matrix suitable as argument for image.

Author(s)

Kjetil Halvorsen

Examples

1
## See example section of help file for zip.train

Example output



ElemStatLearn documentation built on Aug. 12, 2019, 9:04 a.m.