Skip to main content

Frequency Table

A frequency table.

Options#

  • data | object (required): object of value arrays. Default: none.
  • variable | (string|Factor) (required): name of categorical variable to be displayed. Default: none.
  • calculateCounts | boolean: controls whether to display absolute counts. Default: true.
  • calculateRelative | boolean: controls whether to display relative frequencies. Default: false.
  • group | (string|Factor): name of grouping variable. Default: none.
  • nDecimalPlaces | number: number of decimal places for relative frequencies displayed in table. Default: 3.

Examples#

Live Editor
Result
Last updated on by Planeshifter