Re: [R] dplyr/summarize does not create a true data frame

2014-11-23 Thread Hadley Wickham
an convert back to a true data frame > > > as.data.frame(after.group_by)[4] >Value > 1 69.47 > 2 64.61 > ...etc. > > ## dput() code below > > structure(list(Id = structure(1:10, .Label = c("P01", "P02"

Re: [R] dplyr/summarize does not create a true data frame

2014-11-23 Thread John Posner
structure(list(Id = structure(1:10, .Label = c("P01", "P02", "P03", "P04", "P05", "P06", "P07", "P08", "P09", "P10"), class = "factor"), Sex = structure(c(2L, 1L, 1L, 2L, 2L, 2L, 1L, 2L

Re: [R] dplyr/summarize does not create a true data frame

2014-11-21 Thread John Kane
Your code in creating 'frm' is not working for me and it is complicated enough that I don't want to work it out. See ?dput for a better way to supply data. Also see: https://github.com/hadley/devtools/wiki/Reproducibility http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproduc