| Type: | Package | 
| Title: | Conduct Robust Correlations on Non-Normal Data | 
| Version: | 0.1.0 | 
| Maintainer: | Aurora Robert <roberta5@myumanitoba.ca> | 
| Description: | Allows you to conduct robust correlations on your non-normal data set. The robust correlations included in the package are median-absolute-deviation and median-based correlations. Li, J.C.H. (2022) <doi:10.5964/meth.8467>. | 
| URL: | https://liqas.org/1-correlationr-package/, https://github.com/Aurora-UofM/correlationr | 
| BugReports: | https://github.com/Aurora-UofM/correlationr/issues | 
| License: | GPL-3 | 
| Encoding: | UTF-8 | 
| Depends: | R (≥ 3.5) | 
| RoxygenNote: | 7.3.2 | 
| LazyData: | true | 
| Imports: | dplyr, stats | 
| NeedsCompilation: | no | 
| Packaged: | 2025-04-09 14:18:49 UTC; aurorarobert | 
| Author: | Johnson Li  | 
| Repository: | CRAN | 
| Date/Publication: | 2025-04-10 09:40:05 UTC | 
correlationr: Conduct Robust Correlations on Non-Normal Data
Description
Allows you to conduct robust correlations on your non-normal data set. The robust correlations included in the package are median-absolute-deviation and median-based correlations. Li, J.C.H. (2022) doi: 10.5964/meth.8467.
Author(s)
Maintainer: Aurora Robert roberta5@myumanitoba.ca (ORCID)
Authors:
Johnson Li johnson.li@umanitoba.ca (ORCID)
See Also
Useful links:
Report bugs at https://github.com/Aurora-UofM/correlationr/issues
Data collected for Swim Time
Description
Contains four continuous variables.
Usage
SwimLessons
Format
A data frame with 200 rows and 4 variables:
- Age
 The age of the person taking swim lessons
- SwimTime
 The quantity of time the person spent swimming
- Temp
 The temperature of the water during the swim lesson
- UV
 The UV index during the swim lesson
Source
Created in-house to serve as an example dataset for the package correlationr.
Examples
 data(SwimLessons)
Median Absolute Deviation (MAD) Correlations
Description
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.
Usage
rMAD(x, y)
Arguments
x | 
 a continuous variable  | 
y | 
 a continuous variable  | 
Value
a correlation value (r) that ranges from -1 to +1
Examples
rMAD(SwimLessons$Temp, SwimLessons$SwimTime)
Median Based (MED) Correlations
Description
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.
Usage
rMED(x, y)
Arguments
x | 
 a continuous variable  | 
y | 
 a continuous variable  | 
Value
a correlation value (r) that ranges from -1 to +1
Examples
rMED(SwimLessons$Temp, SwimLessons$SwimTime)