A function that takes the target densities and their priorities and returns a power density image over a range of parameters
sim_power_dens(
target_dens,
dens_manip,
priorities,
priorities_manip,
window,
color = c("white", "#F8DAC5FF", "#F4825AFF", "#D2204CFF", "#771F59FF"),
grayscale = FALSE
)
list of densities, plot, and priorities
list of target densities. This should always be a list, even if there is only one target density.
a target density for which we manipulate the value of priorities
numeric. `priorities` specifies the priority for the target density that we do not manipulate.
vector of priorities for the density that we manipulate.
owin object
the color scale. By default, "white", "#F8DAC5FF", "#F4825AFF", "#D2204CFF", and "#771F59FF".
logical. `grayscale` specifies whether to convert plot to grayscale (by default, FALSE).