The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
This document provides the analysis from the New York Times on-line article “What Drives Gun Sales: Terrorism, Obama and Calls for Restrictions”. The R code underlying the analysis is provided in the GitHub repository gunsales which contains the R package
The first step consists in transforming the two raw data sets included in the package into the data.frame used for the subsequent plotting.
gunsales <- analysis()
## [1] "Increase in monthly gun sales in Missouri = 8773.09"
Given the transformed data, we can display the variety of plots contained in the New York Times analysis (which uses post-processed variants suitable for publication).
plot_gunsales(gunsales)
The second set of charts redisplays the same charts as before, but using the ggplot2 package.
ggplot_gunsales(gunsales)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.