Originally posted on RStudio Blog:
The RStudio team recently rolled out new capabilities in RStudio, shiny, ggvis, dplyr, knitr, R Markdown, and packrat. The “Essential Tools for Data Science with R” free webinar series is the perfect place to learn more about the power of these R packages from the authors themselves. Click to learn more…
Check this simple time table function that generates a time table for any given date! You can control the time interval, as well!
How would you convert the timezone of a time object which class is POSIXct? Advertisements
Choosing right colors is one of the most significant factors in drawing a effective graph. Advertisements
arrangeGrob is in “gridExtra” package. Why arrangeGrob()? it returns a frame grob which can be saved by ggsave(). grid.aarange( ), however, directly plots on a graphics device. Advertisements
A package called, scales, is very useful for controlling the x-axis on a time-series ggplot.We will mainly use date_breaks() and date_format() functions in “scales” package to control the time-axis. Advertisements
The easiest, self-explanatory, way is to use Github GIST. Go to Github GIST. If you want to save your snippets and pastes in Github, you need to open an account (free) in Github GIST. A simple instruction for embedding Github Gist can be found at http://en.support.wordpress.com/gist/ Note: When you paste the Gist’s url on a line by itself…