image.raw {potts} | R Documentation |
plot Potts model data.
## S3 method for class 'raw' image(x, col = c("white", "red", "blue", "green", "black", "cyan", "yellow", "magenta"), ...)
x |
an R vector of class |
col |
a vector of colors. Must be as many as number of colors of Potts model. |
... |
other arguments passed to |
Too slow for large images. Needs to be rewritten for efficient plotting.