knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of devrcap is to collect code and data for the capstone assignments of the Coursera specialization "Mastering Software Development in R."
You can install the development version from GitHub with the following procedure:
# install.packages("devtools") devtools::install_github("ManuelAlejandroMartinezFlores/EarthquakePackage")
The package provide the following functions and data:
noaa
: NOAA Significant Earthquake DatabaseDgeom_timeline()
: a ggplot2 geom layer representing a time line
of earthquakes, i.e. a time line over which there are a point for
each earthquake.geom_timeline_label()
: a ggplot2 geom layer representing
earthquakes annotations about the earthquakes location, to be added
after the applicaiton of geom_timeline()
.eq_map()
: An interactive map of earthquakes.eq_create_label()
: creates nice labels for the eqrthquakes map
created by eq_map()
, reporting information (when present) about
location, magnitude and total ammount of deaths for the eartquakes.To see a complete example, please to the vignette.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.