knitr::opts_chunk$set(message = FALSE)
library(tidydatatutor)
library(dplyr)

mtcars %>% 
  select(mpg, cyl, hp) %>% 
  group_by(cyl) %>% 
  summarise(mean(hp))

See this pipeline in Tidy Data Tutor



Try the tidydatatutor package in your browser

Any scripts or data that you put into this service are public.

tidydatatutor documentation built on Dec. 10, 2021, 5:10 p.m.