1994 search results for "ggplot"

I love RStudio

March 1, 2011
By
I love RStudio

Typically if I am working with R I will have a lot of different windows open all at once. I'll have the R Console (for Mac) of course and a text editor (Xcode or TextEdit), plus there will usually be some help windows to examine particular functions o...

Read more »

Mapping the 2011 Chicago Mayoral Democratic Primary

February 25, 2011
By
Mapping the 2011 Chicago Mayoral Democratic Primary

Mapping the Chicago Democratic Mayoral 2011 primary with Ruby, R, and ggplot2

Read more »

Phenotypic selection analysis in R

February 24, 2011
By
Phenotypic selection analysis in R

I have up to recently always done my phenotypic selection analyses in SAS. I finally got some code I think works to do everything SAS would do. Feedback much appreciated!########################Selection analyses#############################install.pac...

Read more »

Book review: 25 Recipes for Getting Started with R

February 24, 2011
By
Book review: 25 Recipes for Getting Started with R

Recently I was asked by O’Reilly publishing to give a book review for Paul Teetor new introductory book to R.  After giving the book some attention and appreciating it’s delivery of the material, I was happy to write and post this review.  Also, I’m very happy to see how a major publishing house like O’Reilly is producing more and

Read more »

type=”n” graphs in R

February 24, 2011
By
type=”n” graphs in R

type n graph.R Download this file One of the most useful graphs you can produce in R using the plot(...) function is one with nothing in it. Using the type="n" option, you get a blank canvas to which you can add points, lines, text, sh...

Read more »

Machine Learning Ex2 – linear regression

February 24, 2011
By
Machine Learning Ex2 – linear regression

Andrew Ng has posted introductory machine learning lessons on the OpenClassRoom site. I've watched the first set and will here solve Exercise 2. The exercise is to build a linear regression implementation, I'll use R. The point of linear regression is to come up with a mathematical function(model) that represents the data as best as possible, that is done...

Read more »

Thor vs. Uncanny X-Men vs. Fantastic Four

February 21, 2011
By
Thor vs. Uncanny X-Men vs. Fantastic Four

Three of Marvel’s longest running comic book series’ are Thor, Uncanny X-Men, and Fantastic Four. Using data from 2010, I compare monthly comic book sales for each series. This data only pertains to monthly issues and not trade paperbacks. Furthermore, the series Amazing Spider Man was not considered because it was released twice a month.

Read more »

Choropleth tutorial and regression coefficient plots

February 21, 2011
By
Choropleth tutorial and regression coefficient plots

About two weeks ago, I gave short talk at Duke, wherein I presented a brief tutorial on creating choropleth maps in R using ggplot2. Since the code is already written, and the data and shapefiles already hosted online, I thought I would share the tutorial more widely. A .ZIP file containing all the files necessary … Continue reading →

Read more »

Tracking the Frequency of Twitter Hashtags with R

February 21, 2011
By
Tracking the Frequency of Twitter Hashtags with R

 I’ve posted three examples of Twitter hashtags datasets in the last week: one on China, one on Iran, and one on Algeria.  In order to build these datasets, I needed to obtain older tweets; this is slightly more difficult than … Continue reading →

Read more »

Book Review: R Graphs Cookbook

February 17, 2011
By
Book Review: R Graphs Cookbook

Book InformationMittal, H. (2011). R graphs cookbook. Birmingham, UK: Packt Publishing Ltd.AudienceThe book's stated audience is anyone who is familiar with the basics of R, as well as expert users who are looking for a graphical reference. However, it...

Read more »