addIPW: Add IPW(inverse probability weight) to a data.frame

View source: R/estimateEffectContinuous.R

addIPWR Documentation

Add IPW(inverse probability weight) to a data.frame

Description

Add IPW(inverse probability weight) to a data.frame

Usage

addIPW(formula, data)

Arguments

formula

A formula

data

A data.frame

Examples

formula=treat~x1+x2
mydata=addIPW(treat~x1+x2,data=simData2)

cardiomoon/webrPSM documentation built on Feb. 2, 2024, 3:55 a.m.