Works by default for the MNIST objects as established here.
show_digit(arr784, col = gray(12:1/12), ...)
arr784 | an 'image' |
---|---|
col | what color to draw the image iwth |
... | other options passed to |
show_digit(MNIST::mnist_train[30,])show_digit(MNIST::mnist_train[42,])