powered by
Simulated data.
corr_match
A data frame with 121 observations on the following 9 variables.
a numeric vector
library(ggplot2) ggplot(corr_match, aes(x = x, y = y1)) + geom_point() cor(corr_match$x, corr_match$y1)
Run the code above in your browser using DataLab