R/table-na.R

Defines functions table_na

Documented in table_na

#' Cross tabulation with NAs included by default
#'
#' @param ... Arguments passed to [table()].
#'
#' @return A [table()] object.
#' @export
table_na <- function(...) {
  table(..., useNA = "ifany")
}
tomshafer/tshfr documentation built on Sept. 27, 2022, 2:42 p.m.