2180 search results for "map"

Extracting sea surface temperatures from NOAA’s OISSTv2

March 1, 2011
By

NOAA’s Physical Sciences Division produces a global map of weekly averaged sea surface temperatures, derived from satellite sources. The data can be found at http://www.esrl.noaa.gov/psd/data/gridded/data.noaa.oisst.v2.html. I’ve put togeth...

Read more »

How Does R Deal with Categorical Explanatory Variables?

March 1, 2011
By
How Does R Deal with Categorical Explanatory Variables?

Here's a video tutorial where I demonstrate an answer to this question.This video is designed to instill a baseline level of practical knowledge. There is more to how R treats factors in regression models. An interested reader should Google "R contra...

Read more »

Data from last post

March 1, 2011
By
Data from last post

Posting the code I used in the last post wasn't that useful unless I also posted the data set. Here's the data. These are made up data, but it is a nice data set for illustrating how to conduct a regression. Enjoy!

Read more »

Running a Regression in R

February 28, 2011
By
Running a Regression in R

I created another video tutorial on R. This time, I discuss R's lm() command and how to use it for a variety of standard applications.Here is the code that goes with the video:Enjoy!

Read more »

More Chicago Mayoral Analaysis

February 26, 2011
By
More Chicago Mayoral Analaysis

I perform a precincts-votes analysis on the returns from the Chicago Democratic Mayoral primary of 2011.

Read more »

Tutorial on Distributions in R

February 25, 2011
By
Tutorial on Distributions in R

Here's a video tutorial I put together to go over how to generate a random sample from one of the commonly known parametric distributions in R.Along the way, I also discuss how some of the properties of estimators are reflected in the computations I pe...

Read more »

How to read and write Stata data (.dta) files into R

February 24, 2011
By
How to read and write Stata data (.dta) files into R

Here's an R tutorial where I explain how to read Stata data files into R (even if you don't own the program Stata). I also offer some other basic tips.Of note, you can also write Stata .dta files from R (if your coauthors or journals insist on having ...

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 »

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 »

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 »