-
magrittr 패키지의 tee pipe operator : %T>%R 2018. 8. 24. 16:23
magrittr 패키지에서 제공하는 tee pipe(%T>%)의 기능은 pipe(%>%)와 다음과 같은 차이가 있다.
# str()의 결과가 없다.
rnorm(100) %>%
matrix(ncol = 2) %>%
plot() %>%
str()# str()의 결과가 출력된다.
rnorm(100) %>%
matrix(ncol = 2) %T>%
plot() %>%
str()[출처] R for Data Science, Hadley Wickham & Garrett Grolemund, O'REILLY, p267
'R' 카테고리의 다른 글
다중응답분석 (0) 2018.09.04 Writing a function has three big advantage (0) 2018.08.24 ggvis package : input_radiobuttons() (0) 2018.08.10 Relational Data (1) 2018.08.04 readr package (0) 2018.08.03