Learn R Programming

geocausal (version 0.3.2)

plot.im: Plot im

Description

Plot im

Usage

# S3 method for im
plot(
  x,
  ...,
  main = "Image object",
  scalename = "Density",
  grayscale = "FALSE",
  color = c("white", "#F8DAC5FF", "#F4825AFF", "#D2204CFF", "#771F59FF"),
  lim = NA
)

Arguments

x

input

...

arguments passed on to the function

main

title

scalename

the name of the scale (for images only)

grayscale

whether to use grayscale. By default, FALSE.

color

the color scale. By default, "white", "#F8DAC5FF", "#F4825AFF", "#D2204CFF", and "#771F59FF".

lim

limits of the scale. By default, NA. To set limits manually, provide a vector or max and min