public class DataTable extends ContingencyTable
| Modifier and Type | Field and Description |
|---|---|
static int |
EUCLIDIAN |
static int |
MANHATTAN |
static int |
SQUAREDEUCLIDIAN |
diagonal, iterated, itsTotalSum, MatrixCols, MatrixRows, NUM_MAXITERATOR, PRECISIONMULT| Constructor and Description |
|---|
DataTable(double[][] theArray)
standard constructor for the ContingencyTable class
|
DataTable(int MatrixCols,
int MatrixRows)
standard constructor for the DataTable 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(com.lobsterman.JavaGrinders.Jama.Matrix aMatrix,
boolean diagonal)
constructor for the DataTable class with a JAMA Matrix provided
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkMatrix()
examines the matrix for invalid entries, all values may occur, so no flag is thrown
|
double[] |
getColMeans()
returns the sums for each row as a 1 dimensional Matrix
|
double[] |
getRowMeans()
returns the means for each row as a double array
|
ContingencyTable |
invertTable()
inverts the table with rows to colums and colums to rows
|
as2DdoubleArray, as2DStringArray, asJAMAMatrix, calcContingencyResults, calcGoodnessOfFitResults, checkDiagonal, checkForColumnPs, checkForZeros, checkMatchingMatrixDimensions, checkMinimumN, checkSquare, clearColumnPs, clearPs, clearSums, clearTable, clearTablePs, clone, colToString, DoWilliamsCorr, fillPerms, fillSums, fold, getCell, getCellValue, getColLabel, getColLabels, getColSum, getColSums, getColumnPs, getContingencyTableResults, getContingencyTableResults, getdf, getDifferenceTable, getDominanceMatrix, getExpectedMatrix, getExpectedMatrix, getExpMatrixDia, getExpMatrixFromProbabilities, getExpMatrixNoDia, getFTukeyDeviates, getGoodnessOfFitResults, getMantelP, getMantelZ, getMatrixSize, getMaxValueCell, getMinValueCell, getName, getNCells, getNCellsAboveEqualValue, getNCellsAboveValue, getNCellsBelowEqualValue, getNCellsBelowValue, getNCols, getNDiagonals, getNoZeroCellMatrix, getNRows, getPermutedTable, getPropMatrixDia, getPropMatrixNoDia, getRowLabel, getRowLabels, getRowSum, getRowSums, getTablePs, getTauKr, getTauKrP, getTotalsMatrix, getTotalSum, getZeroCells, howManyPossiblePermutations, incrementCellValue, isMatchingMatrix, isSquare, listContingencyTableResults, listExpectedTable, listFTukeyDeviates, listGoodnessOfFitResults, listMantelZResults, listTable, listTable, listTauKrResults, noSumsToString, rowToString, set2DArray, setCellValue, setColLabel, setColLabels, setColLabels, setColumnPs, setDefaultRowColLabels, setDiagonal, setMatrixDimensions, setMatrixSize, setName, setNDiagonals, setRowColLabels, setRowColLabels, setRowLabel, setRowLabels, setRowLabels, setTablePs, TauKr, toFile, toString, transpose, unfoldpublic static final int EUCLIDIAN
public static final int SQUAREDEUCLIDIAN
public static final int MANHATTAN
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 tablepublic 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(int MatrixCols,
int MatrixRows)
MatrixCols - number of columns in the tableMatrixRows - number of rows in the tablepublic DataTable(com.lobsterman.JavaGrinders.Jama.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 Tablepublic double[] getRowMeans()
public double[] getColMeans()
public void checkMatrix()
throws java.lang.Exception
checkMatrix in class ContingencyTablejava.lang.Exceptionpublic ContingencyTable invertTable()
invertTable in class ContingencyTableCopyright 2016