Re: [R] Stymied by plyr

2011-04-21 Thread Dennis Murphy
Hi: The example below uses both the plyr and reshape packages. I'm presuming that you expect the table proportions to comprise columns of the output data frame - to do that, we'll use the cast() function from reshape. Writing functions to pass into a plyr function needs to be done with a bit of c

[R] Stymied by plyr

2011-04-20 Thread Stuart Luppescu
Hello, This is my first time trying to use plyr, and I'm getting nowhere. I have teacher ratings data (1:4), on 10 components, by external observers and internal observers, in schools in areas. I want to calculate the percentage of each rating given on each component, by each type of observer, with