| get_lm_results | R Documentation |
Calculate the coefficient estimates for each treatment arm from the linear model input data. Also returns the corresponding residuals.
h_get_lm_results(lm_input)
h_get_strat_lm_results(strat_lm_input)
lm_input |
( |
strat_lm_input |
( |
A list with:
beta_est: the coefficient estimates for each treatment arm.
residuals: the corresponding residuals for each treatment arm.
h_get_lm_results(): Calculate the coefficient estimates for the overall data set.
h_get_strat_lm_results(): Calculate the coefficient estimates using the stratified input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.