Blog Archives

Mapping with ggplot: Create a nice choropleth map in R

October 27, 2015
By

I was working on making a map in R recently and after an extensive search online, I found a hundred different ways to do it and yet each way didn't work quite right for my data and what I wanted to do. Eventually, I found a way to make it work after p...

Read more »

How to use lists in R

August 25, 2015
By

In the (http://rforpublichealth.blogspot.com/2015/03/basics-of-lists.html), I went over the basics of lists, including constructing, manipulating, and converting lists to other classes. Knowing the basics, in this post, we'll use the **apply()** functions to see just how powerful working with lists can be. I've done two posts on apply for dataframes and matrics, (http://rforpublichealth.blogspot.com/2012/09/the-infamous-apply-function.html) and (http://rforpublichealth.blogspot.com/2013/10/loops-revisited-how-to-rethink-macros.html), so give those a...

Read more »

Basics of Lists

March 9, 2015
By

Lists are a data type in R that are perhaps a bit daunting at first, but soon become amazingly useful. They are especially wonderful once you combine them with the powers of the apply() functions. This post will be part 1 of a two-part series on the u...

Read more »

Animations and GIFs using ggplot2

December 26, 2014
By
Animations and GIFs using ggplot2

Tracing a regression lineDiverging density plotsHappy New Year plot Happy New Year everyone! For the last post of the year, I thought I'd have a little fun with the new animation package in R. It's actually really easy to use. I recently had some fun w...

Read more »

Easy Clustered Standard Errors in R

October 20, 2014
By

Read more »

3 ways that functions can improve your R code

July 7, 2014
By

Read more »

How to write and debug an R function

June 8, 2014
By

<p>Loading ...</p>

Read more »

ggplot2: Cheatsheet for Visualizing Distributions

February 18, 2014
By
ggplot2: Cheatsheet for Visualizing Distributions

In the third and last of the ggplot series, this post will go over interesting ways to visualize the distribution of your data.

Read more »

ggplot2: Cheatsheet for Barplots

January 9, 2014
By

<p>Loading ...</p>

Read more »

ggplot2: Cheatsheet for Scatterplots

November 13, 2013
By

<p>Loading ...</p>

Read more »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Dommino data lab

Quantide: statistical consulting and training



http://www.eoda.de







ODSC

ODSC

CRC R books series





Six Sigma Online Training



Contact us if you wish to help support R-bloggers, and place your banner here.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)