Package com.imsl.stat
Class TableMultiWay.UnbalancedTable
java.lang.Object
com.imsl.stat.TableMultiWay.UnbalancedTable
- Enclosing class:
- TableMultiWay
Tallies the frequency of each cell in
x.-
Method Summary
Modifier and TypeMethodDescriptiondouble[]Returns for each row, a list of the levels ofnKeyscorresponding classification variables that describe a cell.intReturns the number of non-empty cells.double[]getTable()Returns the frequency for each cell.
-
Method Details
-
getNCells
public int getNCells()Returns the number of non-empty cells.- Returns:
- an
intcontaining the number of non-empty cells.
-
getListCells
public double[] getListCells()Returns for each row, a list of the levels ofnKeyscorresponding classification variables that describe a cell.- Returns:
doublearray containing the list of levels of nKeys corresponding classification variables that describe a cell.
-
getTable
public double[] getTable()Returns the frequency for each cell.- Returns:
doublearray containing the frequency for each cell.
-