rMAD | R Documentation |
Performs a median-absolute-deviation correlation which is used to examine whether two continuous variables (X and Y) are linearly related using a deviate estimation, called the median absolute deviation.
rMAD(x, y)
x |
a continuous variable |
y |
a continuous variable |
a correlation value (r) that ranges from -1 to +1
rMAD(SwimLessons$Temp, SwimLessons$SwimTime)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.