dot-ConfounderAdjustedResiduals.Rd
Replaces the outcome variable with residuals from a linear regression on the confounders. I.e. removes effect of confounders for the conjugate models.
.ConfounderAdjustedResiduals(data, outcome.var, confounders)
matrix or data.frame containing outcome and confounders
name of outcome.variable
list of confounders
data original dataset with the confounders removed and the outcome replaces with adjusted residuals