[통계 SW] R Language, R Studio 설치하기
본문 바로가기
IT/SW Tool & Eclipse

[통계 SW] R Language, R Studio 설치하기

by DHan- 2020. 11. 25.
728x90

R은 통계 계산과 그래픽을 위한 프로그래밍 언어입니다.

R을 먼저 설치한 후에 Studio를 설치하도록 하겠습니다. 실제 프로그램의 사용은 Studio에서 진행됩니다.

 

R Language 다운로드


링크를 클릭하여 R 설치 페이지로 이동합니다. : https://cran.r-project.org/

 

The Comprehensive R Archive Network

 

cran.r-project.org

 

운영체제를 선택합니다.

 

base를 선택합니다.

 

다운로드를 클릭합니다.

 

설치파일을 다운로드하면 해당 파일을 설치합니다.

 

 

R Studio 다운로드


링크를 클릭하여 R studio 설치 페이지로 이동합니다. : : https://rstudio.com/products/rstudio/download/

 

Download RStudio

RStudio is a set of integrated tools designed to help you be more productive with R. It includes a console, syntax-highlighting editor that supports direct code execution, and a variety of robust tools for plotting, viewing history, debugging and managing

rstudio.com

 

페이지 하단에 Free에서 DOWNLOAD를 클릭합니다.

 

다운로드를 클릭합니다.

 

설치파일을 다운로드 하면 해당 파일을 설치합니다.

 

 

기본 단축키


 

 

#상자그림 -> boxplot(c값))


 

 

#히스토그램 -> hist(c(값))


 

 

#줄기-잎그림 -> stem(c(값))


 

# 데이터 유형 a = 숫자형 / b = 문자형 / c 논리형 
# ex) a <-c(1,2,3) / b <-c("k","d","h") / c <-c(TRUE,FALSE,TRUE)

 

 

txt 파일 업로드 방법 ( read.table ) 


 

 

txt 파일의 변수별 평균 및 표준편차 계산방법 ( tapply ) 


 


R : https://ko.wikipedia.org/wiki/R_(%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%B0%8D_%EC%96%B8%EC%96%B4)

 

R (프로그래밍 언어) - 위키백과, 우리 모두의 백과사전

위키백과, 우리 모두의 백과사전. R은 통계 계산과 그래픽을 위한 프로그래밍 언어이자 소프트웨어 환경이자 프리웨어이다.[2] 뉴질랜드 오클랜드 대학의 로버트 젠틀맨(Robert Gentleman)과 로스 이하카(Ross Ihaka)에 의해 시작되어 현재는 R 코어 팀이 개발하고 있다. R는 GPL 하에 배포되는 S 프로그래밍 언어의 구현으로 GNU S라고도 한다. R는 통계 소프트웨어 개발과 자료 분석에 널리 사용되고 있으며, 패키지 개발이 용이해 통계

ko.wikipedia.org

R : https://www.tutorialspoint.com/r/r_mean_median_mode.htm

 

R - Mean, Median and Mode - Tutorialspoint

R - Mean, Median and Mode Statistical analysis in R is performed by using many in-built functions. Most of these functions are part of the R base package. These functions take R vector as an input along with the arguments and give the result. The functions

www.tutorialspoint.com

 

728x90

댓글