... dplyr verbs: introduction


For this video you'll need to make sure that tidyverse is installed and that you ran this script beforehand.


# This command makes sure that the chickweight dataframe is clean.
df <- ChickWeight %>% ungroup() %>% as.data.frame()

Once this is a given. You can apply all sorts of simple verbs.

df %>% head()
df %>% tail()
df %>% tail() %>% head(3)

Feedback? See an issue? Something unclear? Feel free to mention it here.

If you want to be kept up to date, consider signing up for the newsletter.