Description Usage Arguments Value Examples
View source: R/earthquakes_energy.R
This function calculate the energy of a magnitude earthquake
1 | earthquakes_energy(x, y = "erg")
|
x |
A magnitude of earthquake in Richter magnitude scale |
y |
A character to select units of energy: "erg" OR "joule" |
A number of the energy in the units
1 | a<-earthquakes_energy(6, "erg")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.