Description Usage Arguments Value Author(s)
Replaces the outcome variable with residuals from a linear regression on the confounders. I.e. removes effect of confounders for the conjugate models.
1 | .ConfounderAdjustedResiduals(data, outcome.var, confounders)
|
data |
matrix or data.frame containing outcome and confounders |
outcome.var |
name of outcome.variable |
confounders |
list of confounders |
data original dataset with the confounders removed and the outcome replaces with adjusted residuals
Paul Newcombe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.