[R] help incorporating data subset lengths in function with ddply

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Thu Apr 17 03:35:48 CEST 2014

Note that the solution you asked for is not robust in the presence of missing data, though Frede's suggestion or something like it would be.
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
Sent from my phone. Please excuse my brevity.

On April 16, 2014 1:02:16 PM PDT, "Steve E." <searl at vt.edu> wrote:
>Hi Frede - Thank you for responding. Not quite what I am after. Notice
>that I
>included two data sets in my post, the first is the raw data whereas
>second (the desired df) is similar but has a column of sequential
>numbers in
>another column at the end - that column of sequential numbers for each
>(i.e., subset of data) is what I am after. Thanks again, Stevan
>View this message in context:
>Sent from the R help mailing list archive at Nabble.com.
>R-help at r-project.org mailing list
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list