ggplot_gunsales {gunsales} | R Documentation |
ggplot2 plots for gunsales analysis
Description
This function creates (ggplot2) plots for gunsales analysis.
Usage
ggplot_gunsales(df, savePlots = FALSE, savePNG = FALSE)
Arguments
df |
A |
savePlots |
A boolean toggle to indicate if the plots are to
be saved in the |
savePNG |
A boolean toggle to indicate if the plots are to
be saved in the |
Details
In interactive mode, plot display is paused and the user has to advance by pressing the Return key.
Value
NULL
is returned invisibly.
Author(s)
Gregor Aisch and Josh Keller wrote the R code; Dirk Eddelbuettel created and maintains the package.
See Also
The NY Times article presenting this analsysi undertaken by this package is at http://www.nytimes.com/interactive/2015/12/10/us/gun-sales-terrorism-obama-restrictions.html?
Examples
## Not run:
gs <- analysis()
ggplot_gunsales(gs)
## End(Not run)