Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

freq.control

Control settings for freqlist function


Description

Control test and summary settings for the freqlist function.

Usage

freq.control(
  sparse = FALSE,
  single = FALSE,
  dupLabels = FALSE,
  digits.count = 0L,
  digits.pct = 2L,
  ...,
  digits = NULL
)

Arguments

sparse

a logical value indicating whether to keep rows with counts of zero. The default is FALSE (drop zero-count rows).

single

logical, indicating whether to collapse results created using a strata variable into a single table for printing

dupLabels

logical: should labels which are the same as the row above be printed? The default (FALSE) more closely approximates PROC FREQ output from SAS, where a label carried down from the row above is left blank.

digits.count

Number of decimal places for count values.

digits.pct

Number of decimal places for percents.

...

additional arguments.

digits

A deprecated argument

Value

A list with settings to be used within the freqlist function.

Author(s)

Ethan Heinzen

See Also


arsenal

An Arsenal of 'R' Functions for Large-Scale Statistical Summaries

v3.6.2
GPL (>= 2)
Authors
Ethan Heinzen [aut, cre], Jason Sinnwell [aut], Elizabeth Atkinson [aut], Tina Gunderson [aut], Gregory Dougherty [aut], Patrick Votruba [ctb], Ryan Lennon [ctb], Andrew Hanson [ctb], Krista Goergen [ctb], Emily Lundt [ctb], Brendan Broderick [ctb], Maddie McCullough [art]
Initial release
2021-02-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.