get_cf_sum_log_intens: Calculate the log counterfactual densities

View source: R/get_cf_sum_log_intens.R

get_cf_sum_log_intensR Documentation

Calculate the log counterfactual densities

Description

A function that takes a hyperframe and returns the log counterfactual densities ie, the numerator of the equation

Usage

get_cf_sum_log_intens(cf_dens, treatment_data)

Arguments

cf_dens

A counterfactual density (an im object)

treatment_data

In the form of hyperframe$column

Value

A numeric vector of sums of log densities for each time period


geocausal documentation built on April 3, 2025, 8:46 p.m.