Session Ready
Exercise

Beautify a table with kable

You've just heard it: There are two ways to beautify a table with the kable package: either directly in code chunks by calling the knitr::kable() function or in the YAML header. Here you will try out the former.

Instructions
100 XP
  • Use the knitr::kable() function call to render the table in the "Data" section with the kable engine (line 47).
  • Make sure to add the %>% operator on line 45 to pipe the data frame into the knitr::kable() function.