3871 search results for "git"

Religious restrictions index: how do countries compare?

September 21, 2012
By

The Guardian DataBlog published yesterday an interesting article exploring graphically the religious intolerance across the world. The data are coming from a report published by Pew Research Center's Forum on Religion and Public Life. I like the philosophy DataBlog a lot, providing the raw data for everyone to look at. However, I felt that the visualization could be...

Read more »

A video map of the hottest songs in the US

September 21, 2012
By
A video map of the hottest songs in the US

Today's guest post comes from Revolution Analytics data scientist Luba Gloukhov — ed. As a big fan of R’s ever-expanding geospatial plotting capabilities, I jumped at the chance create a map using The Million Song Dataset (MSD). For each of the 10,000 songs in the million song subset containing non-missing latitudes & longitudes and non-zero artists familiarity scores, I...

Read more »

Compactly display the structure of an arbitrary R object

September 21, 2012
By

As you advance in your R use past “canned” functions and packages made by others, you may want to take information from one R object for use in another. For example, you may want to estimate a linear model, then use the results of that esti...

Read more »

Simple plot with text boxes

September 21, 2012
By
Simple plot with text boxes

Was doing a little presentation to our research group and had to explain the difficulties of ‘collapsing’ longitudinal data into a single measure when the Y var is quite variable. For the particular Y var of interest, it represents burden … Continue reading →

Read more »

Obviousness of REITs?

September 20, 2012
By
Obviousness of REITs?

I very much enjoy papers such as Antonacci, Gary, Risk Premia Harvesting Through Momentum (September 5, 2012). Available at SSRN: http://ssrn.com/abstract=2042750 or http://dx.doi.org/10.2139/ssrn.2042750 Faber, Mebane T., A Quantitative Approach to T...

Read more »

How to use your favorite fonts in R charts

September 20, 2012
By
How to use your favorite fonts in R charts

Today's guest post comes from Winston Chang, a software developer at RStudio — ed. When it comes to making figures in R, you can use any font you like, as long as it's Helvetica, Times, or Courier. Using other fonts that are installed on your computer can seem an impossible task, especially if you want to save the output...

Read more »

Converting an R object to text, with dput()

September 20, 2012
By

We’ve already briefly covered making a reproducible example, but I thought I’d go a little more in-depth on the very helpful function dput(). Whenever I am having trouble applying an operation to some R object, and need help, but want to av...

Read more »

(Unsurprisingly) users default to the defaults

September 19, 2012
By
(Unsurprisingly) users default to the defaults

Oddities tend to jump out when one uses software in a daily basis. The situation is even clearer when using software for teaching: many more people looking at it with fresh eyes. Let’s say that we are fitting a simple … Continue reading →

Read more »

Vertnet – getting vertebrate museum record data and a quick map

September 19, 2012
By
Vertnet – getting vertebrate museum record data and a quick map

We (rOpenSci) started a repo to wrap the API for VertNet, an open access online database of vertebrate specimen records across many collection holders. Find the open source code here - please contribute if you are so inclined. We had a great Google Su...

Read more »

Automatic drug utilization reports with R and ggplot2

September 18, 2012
By
Automatic drug utilization reports with R and ggplot2

This program takes a data set of drug utilisation of 4 fictional drugs in 10 fictional hospitals and plots each time-series with a locally weighted regression (Lowess) trend line. It also places an time-series trend of the usage for each … Continue reading →

Read more »