1655 search results for "ggplot2"

How big is my dog going to get? A regression analysis with R

January 10, 2012
By
How big is my dog going to get? A regression analysis with R

The dog on the left is named Maya. She is a labrador retriever (field line), weighs 18 kilograms and is currently eight months old. My girlfriend and I carry the dog several times a day high in the fourth floor. … Weiterlesen →

Read more »

Suicide vs Divorce rates by country using ggplot

January 10, 2012
By
Suicide vs Divorce rates by country using ggplot

I was looking for data I could use with the geom_text() object in ggplot2 and came across this data from the World Health Organization about the suicide rates by country which I found very handy for my example. I used the scale_colour_gradient2() with 3 colors, red, gray and black but it only picked up gray and

Read more »

Coming of Age: R and Spatial Data Visualisation

January 10, 2012
By
Coming of Age: R and Spatial Data Visualisation

I have been using R (a free statistics and graphics sof

Read more »

Presenting results of logistic regression

January 10, 2012
By
Presenting results of logistic regression

So my advisor pointed out this 'new' (well, 2004), way of plotting results of logistic regression results. The idea was presented in a 2004 Bulletin of the Ecological Society of America issue (here). I tried to come up with a solution using, what el...

Read more »

Presenting results of logistic regression

January 10, 2012
By
Presenting results of logistic regression

So my advisor pointed out this 'new' (well, 2004), way of plotting results of logistic regression results. The idea was presented in a 2004 Bulletin of the Ecological Society of America issue (here). I tried to come up with a solution using, what el...

Read more »

Honing Your R Skills for Job Interviews

January 9, 2012
By
Honing Your R Skills for Job Interviews

My time as a grad student will soon draw to a close. With this comes the terrifying realisation that I'm going to start applying for jobs and, hopefully, interviewing soon, forever leaving my comfortable security blanket of academia. With that horrible thought in mind, I've been doing some poking around to see what various kinds of technical interviews are...

Read more »

Mapping the Iowa caucus results: how it’s done with R

January 6, 2012
By
Mapping the Iowa caucus results: how it’s done with R

If you've been following the presidential primary process here in the US, you've probably seen many maps of the results of the Iowa caucuses by now (such as this infamous one from Fox News). But you might be interested to learn how such maps can be made using the R language. The Offensive Politics blog explains the process in...

Read more »

getting ICES 1903-1949 catch statistics into R

January 5, 2012
By
getting ICES 1903-1949 catch statistics into R

in the last post i showed how to get the nominal north east atlantic landings data from 1950 onwards into a usable format in R. this time around a script that shows how to import zipped excel files from 1903 to 1949 is provided. finalizing with a ggplo...

Read more »

Mapping the Iowa GOP 2012 Caucus Results

January 4, 2012
By
Mapping the Iowa GOP 2012 Caucus Results

Introduction On Tuesday January 3rd 2012 the Iowa Republican party held it’s presidential caucuses, with Mitt Romney beating Rick Santorum by 8 votes as of noon on Jan 4th. This was an exciting race with multiple lead changes and entrance polling showing many late undecideds and large gaps in candidate support by age and income.

Read more »

Plotting Doctor Who Ratings (1963-2011) with R

January 3, 2012
By
Plotting Doctor Who Ratings (1963-2011) with R

Introduction First day back to work after New Year celebrations and my brain doesn’t really want to think too much. So I went out for lunch and had a nice walk in the park. Still had 15 minutes to kill before my lunch break was over and so decided to kill some time with a quick web

Read more »