plot.cflist {geocausal} | R Documentation |
Plot simulated counterfactual densities
Description
A function that takes the simulated counterfactual densities and their priorities and returns a counterfactual density image over a range of parameters
Usage
## S3 method for class 'cflist'
plot(
x,
...,
color = c("white", "#F8DAC5FF", "#F4825AFF", "#D2204CFF", "#771F59FF"),
grayscale = FALSE
)
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). |
Value
ggplot object
[Package geocausal version 0.3.4 Index]