Learn R Programming

geocausal (version 0.3.4)

sim_cf_dens: Simulate counterfactual densities

Description

`sim_cf_dens()` takes a list of power densities and returns simulated counterfactual densities.

Usage

sim_cf_dens(expected_number, base_dens, power_sim_results, window)

Value

list of counterfactual densities, power as numerics, and expected number as a numeric

Arguments

expected_number

the expected number of observations

base_dens

the baseline density (im object)

power_sim_results

the results obtained by `simulate_power_density()`

window

owin object