pivot table dplyr code example Example: pivot table in r dplyr ## make a table with our new variable siteyear_summary %>% kable()