[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
>the
>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
>storm
>(i.e., subset of data) is what I am after. Thanks again, Stevan
>
>
>
>--
>View this message in context:
>http://r.789695.n4.nabble.com/help-incorporating-data-subset-lengths-in-function-with-ddply-tp4688926p4688933.html
>Sent from the R help mailing list archive at Nabble.com.
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list