303 search results for "boxplot"

The inner workings of R objects

June 29, 2012
By
The inner workings of R objects

R is an object oriented language. You provide a name and R supplies that name with various properties. In the simplest case, you can assign a number to a name. This will only have a few attributes, such as its class, length etc: i <- 5 names(i) #NULL class(i) # "integer" attr(i, "name") #NULL dim(i)

Read more »

useR 2012: main conference braindump

June 24, 2012
By
useR 2012: main conference braindump

I knew R was versatile, but DANG, people do a lot with it: > > … I don’t think anyone actually believes that R is designed to make *everyone* happy. For me, R does about 99% of the things I … Continue reading →

Read more »

The R-Podcast Screencast 2: Visualization with ggplot2

June 23, 2012
By

Here is the second screencast episode of the R-Podcast to accompany episode 8 of the R-Podcast: Visualization with ggplot2. In this screencast I demonstrate a real-time session of using ggplot2 to create boxplots for a visualization of hockey attendance in the NHL. The R code created in this screencast is available in our GitHub repository,

Read more »

The R-Podcast Episode 8: Visualization with ggplot2

June 20, 2012
By

I’m happy to present this jam-packed episode of the R-Podcast dedicated to using the ggplot2 package for visualization. This episode will have a companion screencast released in the next few days. I use data from the Hockey Summary Project to demonstrate how to create a series of boxplots of NHL regular season attendance for each

Read more »

Color Palettes in RGB Space

June 20, 2012
By
Color Palettes in RGB Space

Introduction I've recently been interested in how to communicate information using color. I don't know much about the field of Color Theory, but it's an interesting topic to me. The selection of color palettes, in particular, has been a topic I've been faced with lately. I downloaded 18 different sequential color palettes from Cynthia Brewer's

Read more »

11 Million Yellow Slips – City of Toronto Parking Tickets, 2008-2011

June 2, 2012
By
11 Million Yellow Slips – City of Toronto Parking Tickets, 2008-2011

IntroductionI don't know about you, but I really hate getting parking tickets. Sometimes I feel like it's all just a giant cash grab. Really? I can't park there between the hours of 11 and 3, but every other time is okay? Well, why the hell not?Bu...

Read more »

Cross-valitation variability example, part I

May 26, 2012
By
Cross-valitation variability example, part I

Recently I had a discussion with a student about variability of results obtained from cross-validation procedure. While the subject is well known there are not many examples on the web showing it, so I have written its simple presentation.Results from ...

Read more »

Example Reproducible Report using R Markdown: Analysis of California Schools Test Data

May 18, 2012
By
Example Reproducible Report using R Markdown:  Analysis of California Schools Test Data

This is a quick set of analyses of the California Test Score dataset. The post was produced using R Markdown in RStudio 0.96. The main purpose of this post is to provide a case study of using R Markdown to prepare a quick reproducible report. It provides examples of using plots, output, in-line R code, and...

Read more »

Emulating local static variables in R

May 17, 2012
By
Emulating local static variables in R

Recently I was writing a code allowing to plot multiple ggplot2 plots on one page. I wanted to replicate standard behavior of  plot  function that plots graphs in sequence according to  mfrow/ mfcol option in par...

Read more »

Getting Started with R Markdown, knitr, and Rstudio 0.96

May 16, 2012
By
Getting Started with R Markdown, knitr, and Rstudio 0.96

This post examines the features of R Markdown using knitr in Rstudio 0.96. This combination of tools provides an exciting improvement in usability for reproducible analysis. Specifically, this post (1) discusses getting started with R Markdown and knitr in Rstudio 0.96; (2) provides a basic example of producing console output and plots...

Read more »