Default fill value doesn't work with multi-valent aggregation #3

Closed
hadley opened this Issue Jul 30, 2010 · 1 comment

Comments

Projects
None yet
1 participant
Owner

hadley commented Jul 30, 2010

library(reshape)
dat <- data.frame(ID=c(1,1,2),VAL=c(3,3,4))
cast(dat,ID~.,value='VAL',fun=function(x)list(min=min(x)))
cast(dat,ID~.,value='VAL',fun=function(x)list(sd=sd(x)))
cast(dat,ID~.,value='VAL',fun=function(x)list(min=min(x),sd=sd(x)))
Owner

hadley commented Mar 10, 2014

This is not a desired feature of reshape2.

@hadley hadley closed this Mar 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment