r2 em rstudio

rsq <- function (x, y) cor(x, y) ^ 2
Rocku0