Many thanks Mikhail,
aggregate() is fine!
Il 14/02/2011 20.42, Mikhail Titov ha scritto:
It depends what would you like to get at the end. Perhaps you don't
necessary need this type of numbering. For instance, if you'd like to
calculate daily average.
london$id<- as.Date(london$id)
For sum by
It depends what would you like to get at the end. Perhaps you don't
necessary need this type of numbering. For instance, if you'd like to
calculate daily average.
london$id <- as.Date(london$id)
For sum by day you could use, let's say, this
aggregate(words~id,london,FUN=sum)
If you really want
2 matches
Mail list logo