Re: [R] Reformatting dataframe for use with icc()

2015-10-13 Thread Chad Danyluck
t;> >> If the 0's are a problem: >> >> > tbl[tbl==0] <- NA >> > print(tbl, na.print=NA) >>rater.id >> observation 1 2 3 >> 167 >> 24 6 >> 3 24 >> &

Re: [R] Reformatting dataframe for use with icc()

2015-10-10 Thread Frans Marcelissen
167 > 24 6 > 3 24 > > > David L. Carlson > Department of Anthropology > Texas A&M University > > > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Chad > Dany

Re: [R] Reformatting dataframe for use with icc()

2015-10-10 Thread David L Carlson
Texas A&M University -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Chad Danyluck Sent: Friday, October 9, 2015 4:02 PM To: r-help@r-project.org Subject: [R] Reformatting dataframe for use with icc() Hello, I want to determine the inter-rater re

[R] Reformatting dataframe for use with icc()

2015-10-09 Thread Chad Danyluck
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 datafr