23 December 2018

Descrition of the datasets

The data set give the locations of 1000 seismic events of MB > 4.0. The events occurred in a cube near Fiji since 1964.

Multi-grapics with subplot

Load Plotly package

Create factor variable

     lat   long depth mag stations magFactor region
1 -20.42 181.62   562 4.8       41         4   East
2 -20.62 181.03   650 4.2       15         4   East
3 -26.00 184.10    42 5.4       43         5   East
4 -17.97 181.66   626 4.1       19         4   East
5 -20.42 181.96   649 4.0       11         4   East
6 -19.68 184.31   195 4.0       12         4   East

Plotting