Now that by_row() in purrr is going to be (is?) deprecated, what is the new preferred tidyverse implementation of:
somedata = expand.grid(a=1:3,b=3,c=runif(3))
somedata %>%
rowwise() %>% do(binom.test(x=.$a,n=.$b,p=.$c) %>% tidy())
It seems as if you might nest each row into a single column, and then use map(), but I'm not sure how to do that nesting operation...plus it seems like that's a little obscure. Is there a better way?