# # Written by: # -- # John L. Weatherwax 2009-04-21 # # email: wax@alum.mit.edu # # Please send comments and especially bug reports to the # above email address. # #----- library(MASS) with( Animals, cor(brain,body) ) with( Animals, cor(log(brain),log(body)) ) with( Animals, cor(log(brain),log(body), method="spearman") )