29 search results for "SANDY"

Generate GIS integrated animation:Gun deaths animation – R

March 28, 2013
By
Generate GIS integrated animation:Gun deaths animation – R

# I wanted to briefly revisit a previous post in order to update the graphics.# The code used in the previous post has also become more useful since the database of guns deaths has tripled since the original post (yay!).# If you would like to generate ...

Read more »

from OTU table to HEATMAP!

February 23, 2013
By
from OTU table to HEATMAP!

In this tutorial you will learn: what is a heatmap how to create a clean, highly customizable heatmap using heatmap.2 in the gplots package in R how to remove samples with poor output (not very many sequences) how to rearrange your samples by a metadata category how to make a color coded bar above the heatmap

Read more »

To pre-pay or not to pre-pay for gas when renting a car?

February 20, 2013
By
To pre-pay or not to pre-pay for gas when renting a car?

One question we get asked a lot is whether it's worth it to pre-pay for the tank of gas when renting a car. At first, blush it seems like something you should never do. In the best case, you pay market rate for gas, and in the worst case, you pay for a tank of gas you never consume (what...

Read more »

Working with R2MLwiN Part 2

February 19, 2013
By




Specifying the model

This is the second part of a series of notes demonstrating use of the R package, R2MLwiN, an R command interface to the multilevel modelling software package, MLwiN (see the MLwiN site for getting access to MLwiN). The first set of notes showed how to get started with R2MLwiN. In these notes,...

Read more »

Scatterplot with marginal boxplots

February 3, 2013
By
Scatterplot with marginal boxplots


Using R and ggplot2 to draw a scatterplot with the two marginal boxplots

Drawing a scatterplot with the marginal boxplots (or marginal histograms or marginal density plots) has always been a bit tricky (well for me anyway). The approach I take here is, first, to draw the three separate plots using ggplot2:

  • the scatterplot;
  • the horizontal boxplot to appear in the...

    Read more »

US Daily Gun Deaths R Animation – Sandy Hook

January 31, 2013
By
US Daily Gun Deaths R Animation – Sandy Hook

R script# Listenning to NPR about gun deaths in the US got me thinking.# Find the article here:# http://www.slate.com/articles/news_and_politics/crime/2012/12/gun_death_tally_every_american_gun_death_since_newtown_sandy_hook_shooting.html# Let's create...

Read more »

Working with R2MLwiN Part 1

January 24, 2013
By
Working with R2MLwiN Part 1



Getting started with the R2MLwiN package

With the release of the R2MLwiN package late 2012, R users have access to another software package for running Bayesian models using Markov chain Monte Carlo (MCMC) methods. R2MLwiN is an R command interface to MLwiN, allowing users to fit multilevel models using MLwiN from within the R environment.

To use R2MLwiN, MLwiN needs to...

Read more »

Getting Access data into R

January 9, 2013
By

How to make your own 3-D sculpture with R

January 4, 2013
By
How to make your own 3-D sculpture with R

We've mentioned before how you can use R to design 3-D objects. Now, thanks to the latest version of the rgl package, you can produce real-world 3-D objects with R as well. The rgl package has long made it possible to create virtual 3-D objects in R, and export them as animations like this: But now, package author Duncan...

Read more »

100 most read R posts in 2012 (stats from R-bloggers) – big data, visualization, data manipulation, and other languages

January 2, 2013
By
100 most read R posts in 2012 (stats from R-bloggers) – big data, visualization, data manipulation, and other languages

R-bloggers.com is now three years young. The site is an (unofficial) online journal of the R statistical programming environment, written by bloggers who agreed to contribute their R articles to the site. Last year, I posted on the top 24...

Read more »