8000 Another change for new version of tidyr (map, unnest) · codingbooks/tidy-text-mining@cbcaecc · GitHub
[go: up one dir, main page]

Skip to content

Commit cbcaecc

Browse files
author
Julia Silge
committed
Another change for new version of tidyr (map, unnest)
1 parent d6e9099 commit cbcaecc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

07-tweet-archives.Rmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ Now notice that we have a new column for the modeling results; it is another lis
217217
library(broom)
218218
219219
slopes <- nested_models %>%
220-
unnest(map(models, tidy)) %>%
220+
mutate(models = map(models, tidy)) %>%
221+
unnest(cols = c(models)) %>%
221222
filter(term == "time_floor") %>%
222223
mutate(adjusted.p.value = p.adjust(p.value))
223224
```

0 commit comments

Comments
 (0)
0