|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJavaGrinders.ContingencyTable
JavaGrinders.DataTable
public class DataTable
Unlike a contingency table, a data table may contain negative values (e.g. Freeman Tukey deviates
| Field Summary | |
|---|---|
static int |
EUCLIDIAN
|
static int |
MANHATTAN
|
static int |
SQUAREDEUCLIDIAN
|
| Fields inherited from class JavaGrinders.ContingencyTable |
|---|
diagonal, iterated, itsTotalSum, MatrixCols, MatrixRows, NUM_MAXITERATOR, PRECISIONMULT |
| Constructor Summary | |
|---|---|
DataTable(double[][] theArray)
standard constructor for the ContingencyTable class |
|
DataTable(int MatrixCols,
int MatrixRows,
boolean diagonal)
standard constructor for the DataTable class |
|
DataTable(int MatrixCols,
int MatrixRows,
boolean diagonal,
java.lang.String theName)
standard constructor for the DataTable class |
|
DataTable(Matrix aMatrix,
boolean diagonal)
constructor for the DataTable class with a JAMA Matrix provided |
|
| Method Summary | |
|---|---|
void |
checkMatrix()
examines the matrix for invalid entries, all values may occur, so no flag is thrown |
ContingencyTable |
invertTable()
inverts the table with rows to colums and colums to rows |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int EUCLIDIAN
public static final int SQUAREDEUCLIDIAN
public static final int MANHATTAN
| Constructor Detail |
|---|
public DataTable(int MatrixCols,
int MatrixRows,
boolean diagonal,
java.lang.String theName)
MatrixCols - number of columns in the tableMatrixRows - number of rows in the tablediagonal - does the table have a diagonal?theName - the name of the table
public DataTable(int MatrixCols,
int MatrixRows,
boolean diagonal)
MatrixCols - number of columns in the tableMatrixRows - number of rows in the tablediagonal - does the table have a diagonal?
public DataTable(Matrix aMatrix,
boolean diagonal)
aMatrix - a JAMA matrixdiagonal - does the table have a diagonal?public DataTable(double[][] theArray)
theArray - the array to install into the Table| Method Detail |
|---|
public void checkMatrix()
throws java.lang.Exception
checkMatrix in class ContingencyTablejava.lang.Exceptionpublic ContingencyTable invertTable()
invertTable in class ContingencyTable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||