데이터 갖고 놀기/실전 전투 R

googleVIS()로 모션차트(motionchart) 그리기

고물상자 2017. 3. 15. 15:50

install.package("googleVIS")


data set 의 구성은 

Product/ Year/ Location/ Price


test=givsMotionChart(data, idvar="Location", timevar="Year")

plot(test)


하면 웹페이지가 짠! 


실행결과

http://127.0.0.1:17278/custom/googleVis/MotionChartID40ece577f03.html


이제 문제는.. Category 해서 모션차트를 그릴 수 있는지.. 

알아볼 필요가 있네... 



참조 

R라뷰 - 서진수 저