Rich Shepard
2021-Sep-14 00:15 UTC
[R] tidyverse: grouped summaries (with summarize) [RESOLVED]
On Mon, 13 Sep 2021, Avi Gross via R-help wrote:> Just FYI, Rich, the way the idiom with pipeline works does allow but not > require the method you used:...> But equally valid are forms that assign the result at the end:Avi, I'll read more about tidyverse and summarize() in R and not just in the book. Most of what I've done has been in base R, but I've not before grouped hydraulic values before plotting them. Seasonal patterns are more informative than daily ones. Thanks again, Rich
Bert Gunter
2021-Sep-14 01:10 UTC
[R] tidyverse: grouped summaries (with summarize) [RESOLVED]
If you are interested in extracting seasonal patterns from time series, you might wish to check out ?stl (in the stats package). Of course, there are all sorts of ways in many packages to fit seasonality in time series that are more sophisticated, but probably also more complicated, than your manual summarization and plotting. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Mon, Sep 13, 2021 at 5:15 PM Rich Shepard <rshepard at appl-ecosys.com> wrote:> > On Mon, 13 Sep 2021, Avi Gross via R-help wrote: > > > Just FYI, Rich, the way the idiom with pipeline works does allow but not > > require the method you used: > ... > > But equally valid are forms that assign the result at the end: > > Avi, > > I'll read more about tidyverse and summarize() in R and not just in the > book. > > Most of what I've done has been in base R, but I've not before grouped > hydraulic values before plotting them. Seasonal patterns are more > informative than daily ones. > > Thanks again, > > Rich > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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.