Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以下は同じことを行います。いつマップを使用し、いつ使用を適用しますか?
library(dplyr) library(purrr) mtcars %>% map(function(x) sum(x)^2)
また:
mtcars %>% apply(2,function(x) sum(x)^2)