散布図と相関係数

x = rnorm(100)
y = rnorm(100)
corr = cor(x, y)
plot(x, y)
図1: R = 0.154783762612936

図1: R = 0.154783762612936