Skip to main content

Frequency Table

A frequency table.


  • 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.


Live Editor
Last updated on by Planeshifter