show_digit: Plots an MNIST digit

Description Usage Arguments Examples

Description

Works by default for the MNIST objects as established here.

Usage

1
show_digit(arr784, col = gray(12:1/12), ...)

Arguments

arr784

an 'image'

col

what color to draw the image iwth

...

other options passed to image

Examples

1
2
show_digit(MNIST::mnist_train[30,])
show_digit(MNIST::mnist_train[42,])

stillmatic/MNIST documentation built on May 30, 2019, 5:43 p.m.