R/freq_table.R

Defines functions print.freq_table

Documented in print.freq_table

#' Print frequency tables
#'
#' S3 method for class 'freq_table'
#'
#' @param x object of class \code{freq.table}
#' @param ... optional arguments to \code{data.frame}
#'
#' @examples
#' # Suppress external output for examples
#' options(frequency_render = FALSE)
#'
#' x <- freq(big5[1])
#' print(x)
#' print(x[[1]])
#'
#' @export
print.freq_table <- function(x, ...){
  print.data.frame(x, ..., row.names = FALSE)
}

Try the frequency package in your browser

Any scripts or data that you put into this service are public.

frequency documentation built on Jan. 13, 2021, 4:35 a.m.