기본 콘텐츠로 건너뛰기

라벨이 0.1 R dplyr 활용법(ggplot2 데이터 핸들링포함)인 게시물 표시

R dplyr 활용법

논문작성에 필요한 R ggplot2 데이터 시각화 Ch1. R dplyr 활용 0. 데이터 불러오기 다운로드 링크 : https://www.kaggle.com/daiearth22/uniqlo-fastretailing-stock-price-prediction ​ x STOCK = read.csv ( "C:/R/uniqlo-fastretailing-stock-price-prediction/Uniqlo(FastRetailing) 2012-2016 Training - stocks2012-2016.csv" ) ​ STOCK $ Date = as.Date ( STOCK $ Date ) STOCK $ Year = as.factor ( format ( STOCK $ Date , "%Y" )) STOCK $ Day = as.factor ( format ( STOCK $ Date , "%a" )) ​ str ( STOCK ) xxxxxxxxxx > str ( STOCK ) 'data.frame' : 1226 obs. of   9 variables : $ Date         : Date , format : "2016-12-30" "2016-12-29" ... $ Open         : int   42120 43000 43940 43140 43310 43660 43900 42910 42790 43350 ... $ High         : int   42330 43220 43970 43700 43660 43840 44370 43630 43150 43550 ... $ Low           : int   41700 42540 43270 43140 43090 43...