search for: avgage

Displaying 1 result from an estimated 1 matches for "avgage".

Did you mean: aveage
2010 Sep 09
1
Strange output daply with empty strata
Dear list, I get some strange results with daply from the plyr package. In the example below, the average age per municipality for employed en unemployed is calculated. If I do this using tapply (see code below) I get the following result: no yes A NA 36.94931 B 51.22505 34.24887 C 48.05759 51.00198 If I do this using daply: municipality no yes