R/get_kable.R

Defines functions get_kable

Documented in get_kable

#' get_kable
#'
#' Get a beautiful table using kableExtra
#'
#' @param df_1 dataframe or table
#'
#' @return html table
#' @export
#' @importFrom kableExtra kable kable_styling
#'
#' @examples
#' get_kable(bregs)
get_kable <- function(df_1) {
  df_1 %>%
    kable() %>%
    kable_styling("striped")
}
thierrycnam/igfuns documentation built on May 4, 2020, 3:21 a.m.