Learn R Programming

automultinomial (version 1.0.0)

plotGrid: Visualize response values on a grid

Description

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

m

the number of rows in the grid

n

the number of columns in the grid

Value

void

Examples

Run this code
# NOT RUN {
#plotGrid(z,m,n)
# }

Run the code above in your browser using DataLab