`sim_cf_dens()` takes a list of power densities and returns simulated counterfactual densities.
sim_cf_dens(
expected_number,
base_dens,
power_sim_results,
window,
grayscale = FALSE,
color = c("white", "#F8DAC5FF", "#F4825AFF", "#D2204CFF", "#771F59FF")
)
list of counterfactual densities, a ggplot, and priorities
the expected number of observations
the baseline density (im object)
the results obtained by `simulate_power_density()`
owin object
logical. `grayscale` specifies whether to convert plot to grayscale (by default, FALSE).
the color scale. By default, "white", "#F8DAC5FF", "#F4825AFF", "#D2204CFF", and "#771F59FF".