image.raw: Plot Potts Model Data

View source: R/image.raw.R

image.rawR Documentation

Plot Potts Model Data

Description

plot Potts model data.

Usage

## S3 method for class 'raw'
image(x, col = c("white", "red", "blue", "green",
    "black", "cyan", "yellow", "magenta"), ...)

Arguments

x

an R vector of class "raw" that encodes a realization of a Potts model, typically the output of packPotts or of potts.

col

a vector of colors. Must be as many as number of colors of Potts model.

...

other arguments passed to image.default.

Bugs

Too slow for large images. Needs to be rewritten for efficient plotting.

See Also

potts


potts documentation built on Aug. 12, 2022, 5:07 p.m.