kableExtra how to use cell_spec from a user defined range?
问题 First, the package kableExtra indeed produces awesome table. I just have an additional request : When running this example ( from the manual) iris[1:10, ] %>% select(-Species) %>% mutate_if(is.numeric, function(x) { cell_spec(x, "latex", bold = T, color = spec_color(x, end = 0.9), font_size = spec_font_size(x)) }) %>% kable("latex", escape = F, booktabs = T, linesep = "", align = "c") The cells are formated in each column. (1) How to adjust them to the entire table ? (2) Or to a user defined