Works alright for me:
> summarise(baseball,duration = max(year) - min(year),nteams =
> length(unique(team)))
duration nteams
1 136132
> ddply(baseball, "id", summarise, duration = max(year) - min(year), nteams
> = length(unique(team)))
id duration nteams
1aaronha01
Hi,
it works for me with plyr version 0.1.9. Try upgrading to the latest
version, or post your sessionInfo()
HTH,
baptiste
2009/9/25 Veerappa Chetty :
> Hi,I am using the amazing package 'plyr". I have one problem. I would
> appreciate help to fix the following error: Thanks.
> ___
Hi,I am using the amazing package 'plyr". I have one problem. I would
appreciate help to fix the following error: Thanks.
__
> library(plyr)
> data(baseball)
> summarise(baseball,
+ duration = max(year) - min(year),
+ nteams = length(unique(team)))
Error: could not find
3 matches
Mail list logo