powered by
Performs a median based correlation which is used to examine whether two continuous variables (X and Y) are linearly related using a median correlation coefficient.
rMED(x, y)
a correlation value (r) that ranges from -1 to +1
a continuous variable
rMED(SwimLessons$Temp, SwimLessons$SwimTime)
Run the code above in your browser using DataLab