View source: R/extract_lm_quantities.R
| extract_lm_quantities | R Documentation |
Extract critical quantities from a lm object (for confidence interval calculations)
extract_lm_quantities(lm_X, alpha = 0.05)
lm_X |
a lm object |
alpha |
level of significance. Defaults to 0.05. |
A list containing the lm model matrix (dmX),
the inverse of t(dmX) x dmX (XtX_inv),
the standard error (s_e),
the estimated single column beta matrix (beta_hat), and
the critical value of the relevant degrees of freedom t-dist (crit_val).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.