StatBean Name: TwowayTable

Purpose: Constructs a table showing counts and percentages from a cross-tabulation.

DataSource: any (automatic data transfer if Crosstabulation).


Read/Write Properties
NameTypeDescriptionPossible ValuesDefault Value
columnClassNameStringName to be used as column header.Any string."Column"
columnLabelVariableNameStringThe name of the column containing row labels.Any string."Label"
columnOrderingStringThe type of column ordering desired. Increasing and Decreasing refer to class frequencies."Alphabetical",
"As Entered",
"Decreasing",
"Decreasing Alphabetical",
"Increasing",
"Increasing Alphabetical".
"As Entered"
decimalPlacesintNumber of decimal places for displaying frequencies.0+, or -1 for default.-1
frequencyVariableNameStringThe name of the column containing cell frequencies, in row-by-row orderAny string."Frequency"
includeFrequencybooleanWhether to include class frequencies.true,falsetrue
includeHeadingbooleanWhether to include a heading at the top of the table.true,falsefalse
includePercentagebooleanWhether to include class percentages.true,falsetrue
includePercentageMessagebooleanWhether to include a message at the bottom of the table concerning cell percentages.true,falsetrue
numberOfColumnsintNumber of columns.1+0
numberOfRowsintNumber of rows.1+0
percentageTypeStringType of percentage."Tablewise",
"Rowwise",
"Columnwise"
"Tablewise"
rowClassNameStringName to be used as row header.Any string."Row"
rowOrderingStringThe type of row ordering desired. Increasing and Decreasing refer to class frequencies."Alphabetical",
"As Entered",
"Decreasing",
"Decreasing Alphabetical",
"Increasing",
"Increasing Alphabetical".
"As Entered"
rowLabelVariableNameStringThe name of the column containing row labels.Any string."Label"

Other Public Methods
NameDescriptionArgumentsReturn Value
int getTotalCount()Returns sum of the frequencies.None.Sum.

Code Sample - see Crosstabulation.