1009 search results for "RSTUDIO"

Using maps and ggplot2 to visualize college hockey championships

March 13, 2013
By
Using maps and ggplot2 to visualize college hockey championships

Short: I plot the frequency of college hockey championships by state using the maps package, and ggplot2 Note: this example is based heavily on the example provided athttp://www.dataincolour.com/2011/07/maps-with-ggplot2/ data reference:http://en.wikipedia.org/wiki/NCAA_Men%27s_Ice_Hockey_Championship Question of interestAs a good Minnesotan, I've believed for quite some time that the colder, Northern states enjoy a competitive advantage when it...

Read more »

Rcpp master class in New York last weekend

March 12, 2013
By

On Saturday I had the opportunity to teach another one-day master class on Rcpp. The class had been organized by Jared Lander, and organized very well I might add. The weekend started with a slight disappointment. I had taken Friday off, and hoped t...

Read more »

reports 0.1.2 Released

March 12, 2013
By
reports 0.1.2 Released

I’m very pleased to announce the release of reports : An R package to assist in the workflow of writing academic articles and other reports. This is the first CRAN release of reports: http://cran.r-project.org/web/packages/reports/index.html The reports package assists in writing … Continue reading →

Read more »

High Resolution Figures in R

March 12, 2013
By
High Resolution Figures in R

As I was recently preparing a manuscript for PLOS ONE, I realized the default resolution of R and RStudio images are insufficient for publication. PLOS ONE requires 300 ppi images in TIFF or EPS (encapsulated postscript) format. In R plots … Continue reading →

Read more »

Notes on my R / Git workflow

March 10, 2013
By

These are some notes on my current R git work flow, which is quite fluid, and git has enough quirks that I usually forget part of it ! Creating Projects I've used both RStudio and Eclipse.  RStudio seems easier to create a 'project' and add a loca...

Read more »

Publishing Stats for Analytic Reuse – FAOStat Website and R Package

March 8, 2013
By
Publishing Stats for Analytic Reuse – FAOStat Website and R Package

How can stats and data publishers, from NGOs and (inter)national statistics agencies to scientific researchers, publish their data in a way that supports its analysis directly, as well as in combination with other datasets? Here’s one approach I learned about from Michael Kao of the UN Food and Agriculture Organisation statistics division, FAOStat. At first

Read more »

From OpenOffice noob to control freak: A love story with R, LaTeX and knitr

March 8, 2013
By
From OpenOffice noob to control freak: A love story with R, LaTeX and knitr

Lately I had to write a seminar paper for a class and I decided to overdo it.But let's start at the very beginning. Here is my evolution of how I used to write stuff and how I got from this:to that:School: OpenOffice - I guess everyone has some&nb...

Read more »

ddply in action

March 7, 2013
By
ddply in action

Top Batting Averages Over Time Top Batting Averages Over Time reference:http://www.baseball-databank.org/ ShortI'm going to use plyr and ggplot2 to look at how top batting averages have changed over time First load the data: options(width = 100)library(ggplot2) ## Warning message: package 'ggplot2' was built under R version 2.14.2 library(plyr)data(baseball)head(baseball) ## ...

Read more »

Updating R from R (on Windows) – using the {installr} package

March 5, 2013
By

Upgrading R on Windows is not easy. While the R FAQ offer guidelines, some users may prefer to simply run a command in order to upgrade their R to the latest version. That is what the new {installr} package is …Read more »

Read more »

Track the bookies’ favourites for the next Pope

March 4, 2013
By
Track the bookies’ favourites for the next Pope

Tired of manually running a python script to scrape the latest bookmaker odds on the next Pope, R user AJ (an analytical research manager at a large healthcare company) instead created an R script to track the odds on the Papal successor, and automated it with the Shiny package for R. The screenshot below shows the odds of each...

Read more »