View source: R/format_strings.R
extract_r2 | R Documentation |
This function takes an object produced by stats::lm() and returns the model R-squared
extract_r2(mod)
mod |
A linear regression model or a summary(lm()) object |
Model R-squared
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.