Skip to content
Prev 247466 / 398503 Next

data prep question

On Sun, Jan 16, 2011 at 5:48 AM, <Bill.Venables at csiro.au> wrote:
Or, in one line with ddply:

library(plyr)
ddply(dat, "ID", transform, TIME = TIME - min(TIME))

Hadley