View source: R/estimateEffectContinuous.R
addIPW | R Documentation |
Add IPW(inverse probability weight) to a data.frame
addIPW(formula, data)
formula |
A formula |
data |
A data.frame |
formula=treat~x1+x2
mydata=addIPW(treat~x1+x2,data=simData2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.