Re: [R] ddply question

2014-09-02 Thread Brian Diggs
On 8/30/2014 2:11 PM, Felipe Carrillo wrote: library(plyr) b - structure(list(SampleDate = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L), .Label = 5/8/1996, class = factor), TotalCount = c(1L, 2L, 1L, 1L, 4L, 3L, 1L, 10L, 3L), ForkLength = c(61L, 22L, NA, NA, 72L, 34L, 100L, 23L, 25L),

[R] ddply question

2014-08-30 Thread Felipe Carrillo
I apologize about cross posting but my question keeps bouncing back from the list How come pct doesn't work in this ddply call? I am trying to get a percent of 'TotalCount' by SampleDate and Age library(plyr) b - structure(list(SampleDate = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L),