Estimate regression coefficients via M-estimation
estimate_beta.RdEstimate regression coefficients via M-estimation
Arguments
- data_yXZ
A data frame containing the variables in
model. Must include the outcomeyand covariates.- model
An object of class
formulaspecifying the regression model foryin terms of covariates.