magn.plot: Transformed plot of the magnitudes distribution of an...

Description Usage Arguments Details Value Author(s) Examples

View source: R/magn.plot.R

Description

Plots the logarithm of the cumulative frequency of eccedence vs. magnitude in an earthquake catalog.

Usage

1
magn.plot(catalog, main = "Transformed plot of magnitude frequencies", ...)

Arguments

catalog

should be a eqcat object, or at least must contain a column with name magn1.

main

Title to give to the plot

...

other arguments to be passed to plot()

Details

For each magnitude mj, if Nj is the number of values of magn1 greater than mj, the values of log(Nj) vs. mj are plotted.

According to the Gutenberg-Richter law, this plot should be linear. If there is a linear behaviour only for values greater than a given m0, then m0 is probably the magnitude threshold of the catalog.

Value

A new plot is printed (see details).

Author(s)

Marcello Chiodi.

Examples

1
2
3
4
5
## Not run: 
data(italycatalog)
magn.plot(italycatalog) 

## End(Not run)

Example output

Loading required package: mapdata
Loading required package: maps
Loading required package: rgl
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE 
3: .onUnload failed in unloadNamespace() for 'rgl', details:
  call: fun(...)
  error: object 'rgl_quit' not found 

etasFLP documentation built on Sept. 5, 2021, 5:21 p.m.