org.statcato.statistics
Class CrossTabulation
- java.lang.Object
-
- org.statcato.statistics.CrossTabulation
-
public class CrossTabulation extends java.lang.ObjectCross Tabulation Class. Computes the frequency of each multidimensional category.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor and Description CrossTabulation(java.util.Vector<java.util.Vector<Cell>> values, java.util.Vector<java.lang.String> dimensions)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetTable(java.util.Vector<java.lang.String> rows, java.util.Vector<java.lang.String> columns)Returns a HTML-formatted string representing a cross-tabulation to the given row dimensions and column dimensions.
-
-
-
Constructor Detail
-
CrossTabulation
public CrossTabulation(java.util.Vector<java.util.Vector<Cell>> values, java.util.Vector<java.lang.String> dimensions)
Constructor.- Parameters:
values- a vector containing a set of Cell-value vectors, each of which represent a dimension (the order of the dimensions are the same as the given vector of dimension namesdimensions- a vector of the names of the dimensions
-
-
Method Detail
-
getTable
public java.lang.String getTable(java.util.Vector<java.lang.String> rows, java.util.Vector<java.lang.String> columns)Returns a HTML-formatted string representing a cross-tabulation to the given row dimensions and column dimensions.- Parameters:
rows- a vector of row dimension namescolumns- a vector of column dimension names- Returns:
- HTML-formatted string representating the cross tabulation
-
-
DMelt 3.0 © DataMelt by jWork.ORG