R을 배워보자~

2013. 11. 13. 09:38BigDATA/R

반응형

 

R은 데이터사이언티스트가 분석을 하기 위한 도구이다.

특히, 시각화를 할 수 있는데(히스토그램 등) 이것은 분석을 돕기 위한 툴일 뿐이고

시각화를 전문적으로 하는 모듈은 아니라는거~!

 

셋팅

1) 아래에서 먼저 셋팅을 한 뒤

http://cran.nexr.com/

2) R Studio를 셋팅 하자(UI 제공)

http://www.rstudio.com/ide/download/desktop

 

참고 사이트 : http://madlib.net/

 

Ctrl+ l => R Studio Console 창 clean

 

ex)

> library("rgl", lib.loc="C:/Program Files/R/R-3.0.2/library") > library(rgl) > x = rnorm(10) > y = rnorm(10,2) > t.test(x,y) Welch Two Sample t-test data: x and y t = -4.0917, df = 13.348, p-value = 0.001208 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -2.8785133 -0.8926385 sample estimates: mean of x mean of y 0.0271091 1.9126850

반응형

'BigDATA > R' 카테고리의 다른 글

분석 기법  (0) 2013.11.14