Works by default for the MNIST objects as established here.

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

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