rsq | R Documentation |
Squared coefficient of correlation (R2)
rsq(x, y)
x |
variable x |
y |
variable y |
Squared coefficient of correlation (R2) or coefficient of determination.
rsq(runif(10), runif(10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.