javanpst.data.distributions.criticalTable
Class Critical1KeyTable
- java.lang.Object
-
- javanpst.data.distributions.criticalTable.Critical1KeyTable
-
public class Critical1KeyTable extends java.lang.ObjectA table representation with 1 key and critical levels. In each row of this table, several critical values are stored, being each one assigned to a previously especified p-value
-
-
Constructor Summary
Constructors Constructor and Description Critical1KeyTable(int lenght, double[] criticals)Buider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddRow(int index, double[] values)Copy the values of a new row to the tablevoidclear()Clears the tablevoiderase(int index)Clears a row given an integer indexdoubleget(int dim1, int dim2)Get a value from the tabledoublegetHeader(int index)Returns the p-value assigned to a given position
-
-
-
Constructor Detail
-
Critical1KeyTable
public Critical1KeyTable(int lenght, double[] criticals)Buider.- Parameters:
lenght- number of rows of the tablecriticals- array of p-values
-
-
Method Detail
-
getHeader
public double getHeader(int index)
Returns the p-value assigned to a given position- Parameters:
index- position selected- Returns:
- p-value associated
-
clear
public void clear()
Clears the table
-
erase
public void erase(int index)
Clears a row given an integer index- Parameters:
index- row to clear
-
addRow
public void addRow(int index, double[] values)Copy the values of a new row to the table- Parameters:
index- row to modifyvalues- array of values of the new row
-
get
public double get(int dim1, int dim2)Get a value from the table- Parameters:
dim1- row selecteddim2- critical level position selected- Returns:
- value stored
-
-
DMelt 3.0 © DataMelt by jWork.ORG