본문 바로가기
2. 데이터/5) 내장데이터 설명

[R 내장데이터 설명] quakes 데이터

by makhimh 2020. 12. 31.
반응형

1. 설명

몸파크기 MB>4.0 인 1000개의 지진의 위치데이터이다. 1964년 이래로 피지(Fiji) 큐브 근처에서 발생한 지진입니다. 

 

 

2. 변수

5개의 변수, 1000개의 관측

Latitude(위도) of event
Longitude(경도) 
Depth (km)
Richter Magnitude(리히터 규모) 
Number of stations reporting(관측소 수) 

 

 

3. 데이터

데이터 형식 : data.frame

 

> str(quakes)
'data.frame':	1000 obs. of  5 variables:
 $ lat     : num  -20.4 -20.6 -26 -18 -20.4 ...
 $ long    : num  182 181 184 182 182 ...
 $ depth   : int  562 650 42 626 649 195 82 194 211 622 ...
 $ mag     : num  4.8 4.2 5.4 4.1 4 4 4.8 4.4 4.7 4.3 ...
 $ stations: int  41 15 43 19 11 12 43 15 35 19 ...

 

> head(quakes)
                  lat               long depth                mag stations
1 -20.420000000000002 181.62000000000000   562 4.7999999999999998       41
2 -20.620000000000001 181.03000000000000   650 4.2000000000000002       15
3 -26.000000000000000 184.09999999999999    42 5.4000000000000004       43
4 -17.969999999999999 181.66000000000000   626 4.0999999999999996       19
5 -20.420000000000002 181.96000000000001   649 4.0000000000000000       11
6 -19.680000000000000 184.31000000000000   195 4.0000000000000000       12
반응형

댓글