Displaying 1 result from an estimated 1 matches for "tp4306131p4306182".
2012 Jan 18
3
Reshape with multiple aggregation functions
I have a data frame and I would like to reshape it to wide format while at the same time applying different aggregate functions to each column AND at times multiple aggregate functions:
test1 = data.frame(
id = c(rep('101',8),rep('102',8)),
phase = rep(c('D','D','L','L'),4),
day =