geom_timeline: Plot timeline earthquakes

View source: R/functions.R

geom_timelineR Documentation

Plot timeline earthquakes

Description

More detailed description

Usage

geom_timeline(
  mapping = NULL,
  data = NULL,
  stat = "identity",
  position = "identity",
  show.legend = NA,
  na.rm = FALSE,
  inherit.aes = TRUE,
  ...
)

Arguments

mapping

Set of aesthetic mappings created by aes() or aes_()

data

The data to be displayed in this layer. There are three options: If NULL, the default, the data is inherited from the plot data as specified in the call to ggplot(). data.frame, or other object, will override the plot data. All objects will be fortified to produce a data frame. See fortify() for which variables will be created. A function will be called with a single argument, the plot data. The return value must be a data.frame, and will be used as the layer data. A function can be created from a formula (e.g. ~ head(.x, 10)).

stat

stat parameter

position

position parameter

show.legend

show.legend parameter

na.rm

na.rm parameter

inherit.aes

inherit.aes parameter

...

other parameters

Value

Earthquake data Clean

Examples

## Not run: 
eq_clean_data(Data)

## End(Not run)

rumorale/Capstone documentation built on Dec. 31, 2022, 12:42 a.m.