powered by
R2(x, y)
x
x=c(1,2,3,4,5,6) y=c(1.2, 2.1, 2.9, 3.9, 5.3, 6.0) r2 <- R2(x,y)
Run the code above in your browser using DataLab