Skip to content

Instantly share code, notes, and snippets.

@keithmcnulty
Created September 1, 2020 10:48
Show Gist options
  • Select an option

  • Save keithmcnulty/f5532b218c182490249ce9e7666fafb4 to your computer and use it in GitHub Desktop.

Select an option

Save keithmcnulty/f5532b218c182490249ce9e7666fafb4 to your computer and use it in GitHub Desktop.
penguins %>%
nest_by(species)
# A tibble: 3 x 2
# Rowwise: species
species data
<fct> <list<tbl_df[,7]>>
1 Adelie [152 × 7]
2 Chinstrap [68 × 7]
3 Gentoo [124 × 7]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment