How can I solve this error?

kable(cancer %>% head(), caption = "Table 1. Cervical Cancer Dataset") %>% kable_styling(bootstrap_options = c("condensed"), full_width = TRUE, font_size = 10)

Error in kable(cancer %>% head(), caption = "Table 1. Cervical Cancer Dataset") %>% :
no se pudo encontrar la función "%>%"

The pipe operator (%>%) is not from base R, very likely you forgot to load the dplyr package, try loading it first.

library(dplyr)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.