Differences between %.% (dplyr) and %>% (magrittr)

前端 未结 2 1069
清歌不尽
清歌不尽 2020-12-25 14:30

The dplyr package introduced the %.% operator to pass the left hand side as an argument of the function on the right hand side, similar to a *NIX p

2条回答
  •  北荒
    北荒 (楼主)
    2020-12-25 15:35

    See the very first item in the current NEWS file:

    dplyr now imports %>% from magrittr (#330). I recommend that you use this instead of %.% because it is easier to type (since you can hold down the shift key) and is more flexible

提交回复
热议问题