r_squared_from_lm_fit_
calculates R^2 (plain or adjusted)
from the output of lm.fit
.
1 | r_squared_from_lm_fit_(obj, intercept = TRUE, is_adj = FALSE)
|
obj |
List: output from |
intercept |
Logical: does the model contain an intercept? |
is_adj |
Logical: do you need the adjusted R^2? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.