R/nice_table.R

Defines functions nice_table

Documented in nice_table

#' nice_table
#'
#' @param table a data.frame/table to pass through kable
#'
#' @return a kable-styled table
#' @export
#' @import kableExtra
#' @examples
nice_table <- function(table) {
  kable(table) %>%
    kable_styling(bootstrap_options = c("striped", "hover", "condensed", "responsive"))
}
epongpipat/eepR documentation built on June 5, 2024, 10:03 a.m.