Convert IRR simulation run to a data frame.
Source:R/as.data.frame.IRRsim.R
as.data.frame.IRRsim.Rd
Converts the results of [IRRsim::simulateIRR()] to a `data.frame`.
Usage
# S3 method for IRRsim
as.data.frame(x, ...)
Arguments
- x
the result of
simulateIRR
.- ...
currently unused.
Value
a data.frame with the following columns:
- nLevels
- nEvents
- k
the number of raters used in the simulation.
- k_per_event
number of raters per scoring event
- simAgreement
the calculated percent agreement from the sample.
- agreement
the specified percent agreement used for drawing the random sample.
- skewness
skewness of all responses.
- kurtosis
Kurtosis for all responses.
- MaxResponseDiff
the difference between the most and least freqeuent responses.
- ICC1
ICC1 as described in Shrout and Fleiss (1979)
- ICC2
ICC2 as described in Shrout and Fleiss (1979)
- ICC3
ICC3 as described in Shrout and Fleiss (1979)
- ICC1k
ICC1k as described in Shrout and Fleiss (1979)
- ICC2k
ICC2k as described in Shrout and Fleiss (1979)
- ICC3k
ICC3k as described in Shrout and Fleiss (1979)
- Fleiss_Kappa
Fleiss' Kappa for m raters as described in Fleiss (1971).
- Cohen_Kappa
Cohen's Kappa as calculated in psych::cohen.kappa. Note that this calculated for all datasets even though it is only appropriate for two raters.