get_one_wmean {drord} | R Documentation |
Compute one weighted mean based on a given data set.
Description
Compute one weighted mean based on a given data set.
Usage
get_one_wmean(
treat,
covar,
treat_form,
out,
out_levels,
out_form,
out_model,
out_weights
)
Arguments
treat |
A |
covar |
A |
treat_form |
The right-hand side of a regression formula for the working model of treatment probability as a function of covariates |
out |
A |
out_levels |
A |
out_form |
The right-hand side of a regression formula for the working proportional odds model. NOTE: THIS FORMULA MUST NOT SUPPRESS THE INTERCEPT. |
out_model |
Which R function should be used to fit the proportional odds
model. Options are |
out_weights |
A vector of |