Hello,

I want to determine the inter-rater reliability of ratings made from a
random selection of observers and observations. I plan to use the irr
package to calculate the ICC, however, my dataframe is not organized in a
way that the icc() function can handle. The icc() function works with
dataframes in the following format:

                     rater1 rater2 rater3...
observation
1                           6       7      NA
2                           4    NA          6
3                         NA       2         4
...

My dataframe is organized in the following format:

rater.id               1  2  1  3  2  3 ...
observation       1  1  2  2  3  3 ...
rating                 6  7  4  6  2  4 ...

I would like to reformat my dataframe as it is organized in the first
example but I am not sure how to go about doing this. Any suggestions would
be appreciated.

Kind regards,

Chad

-- 
Chad M. Danyluck, MA
PhD Candidate, Psychology
University of Toronto



“There is nothing either good or bad but thinking makes it so.” - William
Shakespeare

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to