public final class CrossTab extends Object
Constructor and Description |
---|
CrossTab() |
Modifier and Type | Method and Description |
---|---|
static Table |
columnPercents(Table table,
CategoricalColumn<?> column1,
CategoricalColumn<?> column2)
Returns a table containing the column percents made from a source table, after first calculating the counts
cross-tabulated from the given columns
|
static Table |
columnPercents(Table table,
String column1,
String column2)
Returns a table containing the column percents made from a source table, after first calculating the counts
cross-tabulated from the given columns
|
static Table |
counts(Table table,
CategoricalColumn<?> column1,
CategoricalColumn<?> column2)
Returns a table containing two-dimensional cross-tabulated counts for each combination of values in
column1 and column2 |
static Table |
counts(Table table,
String columnName) |
static Table |
percents(Table table,
String column1) |
static Table |
rowPercents(Table table,
CategoricalColumn<?> column1,
CategoricalColumn<?> column2)
Returns a table containing the row percents made from a source table, after first calculating the counts
cross-tabulated from the given columns
|
static Table |
rowPercents(Table table,
String column1,
String column2)
Returns a table containing the row percents made from a source table, after first calculating the counts
cross-tabulated from the given columns
|
static Table |
tablePercents(Table table,
CategoricalColumn<?> column1,
CategoricalColumn<?> column2)
Returns a table containing the table percents made from a source table, after first calculating the counts
cross-tabulated from the given columns
|
static Table |
tablePercents(Table table,
String column1,
String column2)
Returns a table containing the table percents made from a source table, after first calculating the counts
cross-tabulated from the given columns
|
public static Table counts(Table table, CategoricalColumn<?> column1, CategoricalColumn<?> column2)
column1
and column2
table
- The table we're deriving the counts fromcolumn1
- A column in table
column2
- Another column in table
public static Table columnPercents(Table table, CategoricalColumn<?> column1, CategoricalColumn<?> column2)
public static Table columnPercents(Table table, String column1, String column2)
public static Table rowPercents(Table table, CategoricalColumn<?> column1, CategoricalColumn<?> column2)
public static Table rowPercents(Table table, String column1, String column2)
public static Table tablePercents(Table table, CategoricalColumn<?> column1, CategoricalColumn<?> column2)
Copyright © 2019. All rights reserved.