calc_weights: Calculate inverse probability of treatment weights

View source: R/iptw.R

calc_weightsR Documentation

Calculate inverse probability of treatment weights

Description

Calculate inverse probability of treatment weights

Usage

calc_weights(denominator, numerator = 1)

Arguments

denominator

Matrix of predictions, as returned by pred_treatment_models()

numerator

Matrix of predictions, as returned by pred_treatment_models()


audreyrenson/didgformula documentation built on Oct. 9, 2022, 11:45 a.m.