Hi, I am new in using R. I am trying to create tables in R markdown, with kable. I want to modify the header of the table (bold, different colors by columns). The cmd "row_spec(1, bold = T)" just allows me to modify the first row. How can i move on the header?
kbl(dt) %>%
kable_classic("striped", full_width = F) %>%
row_spec(1, bold = T) %>%
row_spec(3:5, bold = T, color = "white", background = "#D7261E")
Thank you in advance