Description Usage Arguments Value
Displays a picture, such as an MNIST digit or CIFAR image Assumes the image is stored in a rowwise-fashion in the vector x
Assumes the image is stored in a rowwise-fashion.
Shows multiple colored or grayscale pictures
1 2 3 4 5 |
x |
the data to depict, a grayscale channel in |
sidelength |
the height of the resulting picure in pixels; on |
col |
as passed to function |
... |
as passed to function |
normalize |
logical, whether |
data |
contains the pixel data, one picture in each column |
nrow, ncol |
define the arrangement of the pictures |
idx |
defines the enumeration of the pictures, i.e. the order in which the columns of
|
isColor |
logical, indicates whether |
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.