R/fortify.r

Defines functions fortify.table

Documented in fortify.table

#' Fortify contingency tables
#'
#' @param model the contingency table
#' @param data data (unused)
#' @param ... (unused)
#' @export
fortify.table <- function(model, data, ...) {
  as_tibble(as.data.frame(model, stringsAsFactors=FALSE))
}
hrbrmstr/ggalt documentation built on May 1, 2023, 7:36 a.m.