ãããã¿è®åããããªãå¯èªæ§
mtcarsã®summaryçµæãä¿åããã®ã¡ããã®ã¾ã¾mtcarsã§lmãã¦ãã®çµæãsummaryãããã
%>%ã使ã£ã¦æ¸ãã¨ããããæãã ãå½ç¶åããªãã
mtcars %>% summary -> summ %>% lm(formula = mpg ~ wt + cyl, data = .) %>% summary
ã ãpipeRã®ææ°çï¼0.4.3ï¼ãªãå®ç¾ã§ãããï¼è®åç´ æµï¼
# pipeR 0.4.3 devtools::install_github("pipeR","renkun-ken") library(pipeR) mtcars %>>% (~summ = summary(.)) %>>% # ãªãã¸ã§ã¯ãããã®å¾ã®chainã§ä½¿ããããªãã¨ãã¯~ãã¤ãã (lm_mtcars = lm(formula = mpg ~ wt + cyl, data = .)) %>>% # 使ãããæã¯~ãã¤ããªã summary
ãããªãå¯èªæ§ï¼ï¼ï¼ï¼