ggplot2 샘플 데이터 셋

# 현재 메모리에 로딩된 패키지 목록 확인

search()

# 해당 데이터셋 패키지에 대한 도움말 조회

help(package=패키지명)

library(help=패키지명)

#  ggplot2 패키지 설치 및 로딩

install.packages('ggplot2')

library(ggplot2)

#  ggplot2내장 데이터셋 확인

data(package = 'ggplot2')

Data sets in package ‘ggplot2’:

diamonds              Prices of over 50,000 round cut diamonds

다이아몬드 50,000개 이상의 라운드 컷 다이아몬드 가격

economics             US economic time series

경제 미국 경제 시계열
Economics_long 미국 경제 시계열


economics_long        US economic time series


faithfuld             2d density estimate of Old Faithful data

Old Faithful 데이터의 충실한 2D 밀도 추정


luv_colours           'colors()' in Luv space

Luv 공간의 luv_colours 'colors()


midwest               Midwest demographics

중서부 인구 통계


mpg                   Fuel economy data from 1999 to 2008 for 38
                      popular models of cars

mpg 38에 대한 1999년부터 2008년까지의 연비 데이터
                      자동차의 인기 모델


msleep                An updated and expanded version of the
                      mammals sleep dataset

                     포유류 수면 데이터 세트


presidential          Terms of 11 presidents from Eisenhower to
                      Obama

아이젠하워부터 대통령까지 11명의 대통령 임기
                      오바마


seals                 Vector field of seal movements

물개 물개 움직임의 벡터 필드


txhousing             Housing sales in TX

txhousing 텍사스 주택 매매

 

출처 : https://hyun-am-coding.tistory.com/entry/%EB%8D%B0%EC%9D%B4%ED%84%B0%EC%85%8B-%EB%A1%9C%EB%94%A9%ED%95%98%EA%B8%B0-%EC%83%98%ED%94%8C%EB%8D%B0%EC%9D%B4%ED%84%B0%EC%85%8B