Description Usage Arguments Details Note
The wrapper is just to plot the object. See ggplot2
package documenation
for more specifics on geom_* and layer_* functions.
1 2 3 4 |
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
stat |
The statistical transformation to use on the data for this layer, as a string. |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
xmindate |
This is a date that will filter data prior to plotting. No EQ prior to this parameter will be plotted. |
xmaxdate |
This is a date that will filter data prior to plotting. No EQ after this parameter will be plotted. |
n_max |
This parameter controls how many EQ are labeled per timeline. |
... |
other arguments passed on to |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
#' @param n_max This aesthetic will limit the number of labels on the graph, ordered by the magnitude in the EQ_PRIMARY field.
linelen This is the length of lines originating at th desired points.
orderby This is the data used to rank the data so that we can select the top n_max. It will sort largest to smallest to select.
x This aesthetic should be a date field as this is mean to be a timeline.
y This aesthetic is used to group EQ in some fashion. For example, y could be set to a country which would subsequently plot each COuntries EQ on a separate line.
label This aesthetic is the data column corresponding to the desired label for each point.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.