data(p2.10)
attach(p2.10)
cor.test(weight, sysbp, method="pearson") # tests rho=0
# and computes 95% CI for rho
# using Fisher's Z-transform
Run the code above in your browser using DataLab