User Tools

Site Tools


blog:r_style_guide

R style guide

http://stat405.had.co.nz/r-style.html

이것은 Hardley Wickham이 가르치는 과목 Introduction to data analysis에서 권장하는 R 스타일이다. 나는 변수에 값을 할당하는 연산자로서 '←' 보다는 '='을 선호한다. 이는 simpleR - Using R for Introductory Statistics의 영향을 받은 탓이다. 이 자료의 서문에는 이런 글이 있다.

These notes were written to take advantage of R version 1.5.0 or later. 
For pedagogical reasons the equals sign, =, is used as an assignment 
operator and not the traditional arrow combination <-. This was added 
to R in version 1.4.0. If only an older version is available the reader 
will have to make the minor adjustment.
blog/r_style_guide.txt · Last modified: 2021/08/12 02:38 by hyjeong