public class TimeVariable extends Variable implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
TimeDescriptives |
itsTDescriptives |
autoExtracted, hasDefaultColors, isSorted, itsDescriptives, itsFormula, itsLineColor, itsLocationColor, kEuclidian, kGower, kJaccard, kManhattan, kSquEuclidian, plotMarker, rand
Constructor and Description |
---|
TimeVariable(java.lang.String varName,
VariableOrganizer theOwner)
Standard constructor for the stringVariable class using a VariableOrganizer
|
Modifier and Type | Method and Description |
---|---|
void |
fillDescriptives(java.lang.Double hypVal)
fills the descriptive statistics for the variable - locations
|
void |
fillWithParser(DataFileParser aParser,
int varNum,
boolean firstRowAsLabels)
fills the variable with individual data values read from a text file using a
DataFileParser object
|
void |
fillWithParser(DataFileParser aParser,
int varNum,
boolean firstRowAsLabels,
java.lang.String dateFormatStr)
fills the variable with individual data values read from a text file using a
DataFileParser object
|
void |
fillWithVariable(Variable aVar)
fills the variable as a clone of the variable
|
java.util.Date |
getDateValue(int row)
returns the time stored at a given row of the Vector as a Date
|
long |
getEndTime()
returns the end time in milliseconds
|
long |
getMilliSecondsValue(int row)
returns the time stored at a given row of the Vector in milliseconds
|
long |
getSecondsValue(int row)
returns the time stored at a given row of the Vector in seconds
|
IntegerVariable |
getSecondsVariable()
returns the variable with time in seconds
|
SpatialDescriptives |
getSpatialDescriptives()
fills the descriptive statistics for the variable and returns the results
|
long |
getStartTime()
returns the start time in milliseconds
|
void |
makeNewDescriptives()
create a new set of descriptives for the variable the object
|
addValue, addValue, addValue, addValue, append, asJAMAMatrix, asVariableOrganizer, checkAllUseRows, checkLocked, checkMatchingRows, checkMinUseRows, checkNumberIDs, checkSameIDs, checkSameNRows, checkSameNSelectRows, checkSameSelectRows, checkSameSelectRows, checkSameUseRows, checkSameUseRows, checkValidRowRange, clone, cloneEmpty, cloneSelectedRowsOnly, cloneVariableFrom, combineSelectedWithSavedSelectedRows, copyDescriptives, copySelectStateFrom, customColorFromData, customColorSelectedRows, customColorSelectedRows, deleteAllRows, deleteDuplicateRows, deleteMissingRows, deleteNonSelectedRows, deleteRow, deleteRowNoCheck, deleteSelectedRows, deselectAllRows, fill, fill, fill, fill, fill, fill, fillDescriptives, fillMoreDescriptives, fillWithParser, findFirstSelectRow, findFirstUseRow, findLastSelectRow, findLastUseRow, findNextNonMissingRow, findNextSelectRow, findNextUseRow, findNextValue, findPreviousSelectRow, findPreviousUseRow, getabasedintValue, getAbasedintValue, getArray, getbooleanValue, getcharValue, getCombinedIDs, getCrossTabulation, getCrossTabulation, getCustomColorRow, getDescriptives, getdoubleArray, getdoubleValue, getDoubleValue, getfloatValue, getFrequencies, getHighliteColor, getHighlitedRow, getIDMap, getIDs, getIDString, getIDStrings, getInteractions, getintValue, getJaccard, getLineColor, getLocationColor, getlongValue, getManhattan, getMissingRow, getName, getNIDs, getNMissingRows, getNotes, getNRows, getNSelectRows, getNUseRows, getOrganizer, getProximity, getProximity, getRandomValue, getResampledVariable, getRowNumbers, getRowOrder, getRowOrderRow, getSelectRow, getStringArray, getStringValue, getTransitions, getUseRow, getValue, getVariableDesignRole, getVariableDesignRoleString, getVariableFormat, getVariableType, highliteSelectedRows, highliteSelectedRows, invalidDescriptives, invertSelectedRows, isAngleType, isContinuousType, isDateTimeFormat, isLocationType, isLocked, isNominalType, isNumberFormat, isOrdinalType, isStringFormat, isValidRowRange, isXVariable, isYVariable, listDescriptives, listDescriptives, listGroupDescriptives, listGroupDescriptivesNoDia, listRow, listRowOrder, listRows, listRows, listRows, listRows, listSelectedRows, listSelectState, listSelectState, listUseRows, makeTableSubSet, matchedIDs, replaceSelectedRows, resample, restoreSelectedRows, restrictToMatchingUseRows, restrictToMatchingUseRows, restrictToValidRowsOnly, reverseRows, saveRowsToFile, saveRowsToFile, saveSelectedRows, selectAllRows, selectDuplicateRows, selectEveryNthRow, selectRows, selectUseRows, selectValue, setAnglesType, setCustomColorRow, setFormula, setHighliteColor, setHighlitedRow, setLineColor, setLocationColor, setLocationsType, setLock, setMissingRow, setName, setNominalType, setNotes, setNRows, setOrdinalType, setOrganizer, setRowOrder, setRowOrderRow, setSelectRow, setSelectRows, setSelectRowsToMissing, setValue, setValue, setValue, setValue, setValue, setValue, setVariableDesignRole, setVariableFormat, setVariableType, sort, sort, sort2, updateRowOrder
add, add, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
public TimeDescriptives itsTDescriptives
public TimeVariable(java.lang.String varName, VariableOrganizer theOwner) throws java.lang.Exception
varName
- assigns a name (String) to the variabletheOwner
- an instance of VariableOrganizer
class coordinates a set of variables with respect to number of data points available
and the rows that are currently selectedjava.lang.Exception
public void fillWithVariable(Variable aVar) throws java.lang.Exception
fillWithVariable
in class Variable
aVar
- the variable to clonejava.lang.Exception
- if ...public void fillWithParser(DataFileParser aParser, int varNum, boolean firstRowAsLabels) throws java.lang.Exception
fillWithParser
in class Variable
aParser
- the DataFileParser that was used to
read data values from a text filevarNum
- marks the number of the column to be filled into the variablefirstRowAsLabels
- whether the first row contains a variable labeljava.lang.Exception
- if ...public void fillWithParser(DataFileParser aParser, int varNum, boolean firstRowAsLabels, java.lang.String dateFormatStr) throws java.lang.Exception
aParser
- the DataFileParser that was used to
read data values from a text filevarNum
- marks the number of the column to be filled into the variablefirstRowAsLabels
- whether the first row contains a variable labeljava.lang.Exception
public java.util.Date getDateValue(int row) throws java.lang.Exception
row
- marks the row in the vectorjava.lang.Exception
public long getMilliSecondsValue(int row) throws java.lang.Exception
row
- marks the row in the vectorjava.lang.Exception
public long getSecondsValue(int row) throws java.lang.Exception
row
- marks the row in the vectorjava.lang.Exception
public IntegerVariable getSecondsVariable() throws java.lang.Exception
java.lang.Exception
public long getStartTime() throws java.lang.Exception
java.lang.Exception
public long getEndTime() throws java.lang.Exception
java.lang.Exception
public void makeNewDescriptives()
makeNewDescriptives
in class Variable
public void fillDescriptives(java.lang.Double hypVal) throws java.lang.Exception
fillDescriptives
in class Variable
hypVal
- the value of the a-priori hypothesis meanjava.lang.Exception
- if ...public SpatialDescriptives getSpatialDescriptives() throws java.lang.Exception
java.lang.Exception
RH, 2017