Takes in an nxk matrix or a length n vector containing the response type of each observation
and creates an image of the response for a specified grid size
Usage
plotGrid(z, m, n)
Arguments
z
nxk matrix or length n vector of responses, where z contains the responses of the grid in column-major order