E.T.C/R
함수 정리 (1)
아기 요다
2017. 9. 8. 11:53
참고하는 대부분의 함수는 RGui console에서 help.search()
함수를 이용해 찾았다.
예를 들어 help.search("head")
를 검색하면 'head'
라는 키워드가 들어간 함수들이 나열된다.
\- utils::head
: Return the First or Last Part of an Object
setwd()
: 킬 때마다 해줘야 한다.
base::length
: Length of an Object
Get or set the length of vectors (including lists) and factors, and of any other **R** object for which a method has been defined.
nchar
함수와 차이점이 있다면 length
함수는 character vector의 길이를 반환한다.