[R] Fwd: Help scoring a matrix of item responses

From: Rick DeShon <deshon_at_msu.edu>
Date: Tue 14 Feb 2006 - 05:45:13 EST

Hi All.

I'm new to R and trying to learn the data manipulation routines. At the moment, this is the one that has me stumped.

Imagine n test takers provide responses to k multiple choice items. The result is a (n+1) x k matrix of responses where the first row of the matrix is a correct answer key.

How could you transform the raw item responses into 1s (correct response) and 0s (incorrect responses) by comparing each test takers response to the correct answer key?

Any direction would be appreciated!

Rick

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Feb 14 05:49:28 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:29 EST