Pairwise Statistics Table (continuous traits only!)
Usage
pairwise_stats(df, device_status = FALSE, variable, by_date = FALSE)
Arguments
- df
Input data-frame in long format
- device_status
A boolean denoting if this is the device data-frame;
default assumes grader data-frame.
- variable
A valid column name denoting the variable of interest.
- by_date
A boolean denoting if the statistics should be split by date.
Value
A table containing pairwise maximum difference, mean difference,
median difference, R-squared, Kendall's Tau and Spearman's Rho.