Welcome, Guest
Username: Password: Remember me

TOPIC: new tools highlighted in RStudio blog

new tools highlighted in RStudio blog 5 months 1 week ago #66

  • Marcus Beck
  • Offline
  • Administrator
  • Posts: 32
  • Thank you received: 5
  • Karma: 4
Hi everyone,

I just wanted to bring attention to some of the great work done by the folks at RStudio, highlighted in their recent blog post:

blog.rstudio.org/2016/02/02/tidyr-0-4-0/

I've been using the tidyr package for some time now. It's very handy for converting data between 'wide' and 'long' formats, which is almost a must for data organization. This can make things like plotting or modelling by conditioning variables a breeze. What struck me most about the blog was some of the new features in the latest release of tidyr, particularly the ability to nest and unnest data frames. The ability to store nested R objects based on grouping variables in a data frame (or data table) seems like a real asset.

The other part of this blog that interested me was the 'complete' function. From the help file, this function 'turns implicit missing values into explicit missing values'. Consider an example of a time series with irregular time steps. I created the 'setstep' function in SWMPr to standardize a time series but it seems like the 'complete' function can perform similar tasks. I'm willing to bet that the 'complete' function does the job quicker and more efficiently... the RStudio team really know what they're doing.

Anyway, just wanted to spread the word.

Cheers,

Marcus
The administrator has disabled public write access.
The following user(s) said Thank You: omdoherty

new tools highlighted in RStudio blog 5 months 1 week ago #67

  • Kari_Pohl
  • Offline
  • Moderator
  • Posts: 9
  • Thank you received: 2
  • Karma: 2
Thanks for sharing Marcus! I'd be curious to try out their 'complete' function in a future analysis.

RStudio sure has been a lifesaver!

-Kari
The administrator has disabled public write access.

new tools highlighted in RStudio blog 5 months 1 week ago #69

  • Marcus Beck
  • Offline
  • Administrator
  • Posts: 32
  • Thank you received: 5
  • Karma: 4
I might make a POTM showing use of these tools with SWMPr/SWMP data... it would be really cool to see how easy it is to extract trend info with these functions.
The administrator has disabled public write access.

new tools highlighted in RStudio blog 5 months 1 week ago #72

I'd appreciate a POTM incorporating this stuff - I have a hard time wrapping my head around new programming things until they're related to something I'm familiar with. Thanks for the link.
The administrator has disabled public write access.
Time to create page: 0.087 seconds
Powered by Kunena Forum