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