[R] Count variables by ID
travelmail26 at gmail.com
Wed Feb 10 23:58:18 CET 2010
I have an education dataset and I'd like to know how to count the number of
courses each student has taken in a particular subject. For instance, say
the course codes for "History" are 20-26 & 31 and I have the following data
Student ID Course Code
I would like a separate variable that reads like this
Student ID Hist Courses
I've read other "count" tutorials on the forum, but couldn't still find an
answer to my problem. Thanks for helping out!
View this message in context: http://n4.nabble.com/Count-variables-by-ID-tp1476618p1476618.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help