Contingency Table
A contingency table.
Options
- data |
object (required): object of value arrays. Default:none. - rowVar |
(string|Factor) (required): name of categorical variable to be displayed along the rows. Default:none. - colVar |
(string|Factor) (required): name of categorical variable to be displayed along the columns. Default:none. - relativeFreqs |
boolean: controls whether to display relative frequencies. Default:false. - group |
(string|Factor): name of grouping variable. Default:none. - display |
(array<string>|string): whether to displayRow Percentand/orColumn Percent. Default:[]. - nDecimalPlaces |
number: number of decimal places for relative frequencies displayed in table. Default:3.
Examples
- Minimal
- Relative Frequencies
- Grouped
- Display Row Percentages
Live Editor
Result
ReferenceError: Provider is not defined