Description Usage Arguments Value References Examples
Computes the ICC for each vector of measurements that is passed to the function, for the subject and trial vectors
1 |
subject |
The vector of athletes who recorded the results for each metric (can be a numeric or factor variable) |
trial |
The vector that represents which trial each measurement came from |
... |
Numeric vectors that represent the metrics for which the ICC output should be given. These vectors hold the scores that each athlete recorded for each respective metric (at least one metric must be passed to the function). |
A list, with its contents being the ICC output (containing the six types of ICC's, as generated by psych::ICC()), is returned
Shrout, P. E., & Fleiss, J. L. (1979). Intraclass correlations: Uses in assessing rater reliability. Psychological Bulletin, 86(2), 420-428.
1 2 3 4 5 6 | subject <- c(1, 1, 1, 2, 2, 2, 3, 3, 3)
trial <- c(1, 2, 3, 1, 2, 3, 1, 2, 3)
metric_1 <- c(250, 258, 252, 279, 270, 277, 218, 213, 218)
metric_2 <- c(10, 7, 10, 14, 18, 17, 11, 7, 8)
metric_3 <- c(1214, 1276, 1289, 1037, 1010, 1069, 1481, 1465, 1443)
ICC_long(subject, trial, metric_1, metric_2, metric_3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.