earthquakes_energy: Earthquakes energy calculation

Description Usage Arguments Value Examples

View source: R/earthquakes_energy.R

Description

This function calculate the energy of a magnitude earthquake

Usage

1
earthquakes_energy(x, y = "erg")

Arguments

x

A magnitude of earthquake in Richter magnitude scale

y

A character to select units of energy: "erg" OR "joule"

Value

A number of the energy in the units

Examples

1
a<-earthquakes_energy(6, "erg")

ComunidadBioInfo/mxearthquakes documentation built on Oct. 30, 2019, 5:45 a.m.