Description Usage Arguments Details Value Examples
Extracts the coefficient of determination (i.e., “r-squared”) from a linear model (i.e., lm
) object.
1 2 3 4 5 6 7 |
object |
An object saved from |
... |
Additional arguments for methods. |
digits |
A single number that is the number of digits to round the returned result to. |
percent |
A logical that indicates if the result should be returned as a percentage ( |
This is a convenience function to extract the r.squared
part from summary(lm)
.
A numeric, as either a proportion or percentage, that is the coefficient of determination for a linear model.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.