Learn R Programming

geocausal (version 0.3.4)

plot.powerlist: Plot simulated power densities

Description

A function that takes the simulated power densities and their priorities and returns a power density image over a range of parameters

Usage

# S3 method for powerlist
plot(
  x,
  ...,
  color = c("white", "#F8DAC5FF", "#F4825AFF", "#D2204CFF", "#771F59FF"),
  grayscale = FALSE
)

Value

list of densities, plot, and priorities

Arguments

x

input (should be the output of the `sim_power_dens()` function)

...

arguments passed on to the function

color

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

grayscale

logical. `grayscale` specifies whether to convert plot to grayscale (by default, FALSE).