public class StrVariable extends Variable
autoExtracted, hasDefaultColors, isSorted, itsDescriptives, itsFormula, itsLineColor, itsLocationColor, kEuclidian, kGower, kJaccard, kManhattan, kSquEuclidian, plotMarker, rand
Constructor and Description |
---|
StrVariable(java.lang.String varName,
VariableOrganizer theOwner)
Standard constructor for the root string Variable class using a VariableOrganizer
|
Modifier and Type | Method and Description |
---|---|
Variable |
cloneSelectedRowsOnly()
returns a NumberVariable with only the selected rows
|
void |
fillWithParser(DataFileParser aParser,
int varNum,
boolean firstRowAsLabels)
fills the variable with individual datavalues read from a textfile using a
DataFileParser object
|
void |
selectValue(java.lang.String matchString,
boolean fromPrevSelected)
select all rows with a String that matches the one provided
|
addValue, addValue, addValue, addValue, append, asJAMAMatrix, asVariableOrganizer, checkAllUseRows, checkLocked, checkMatchingRows, checkMinUseRows, checkNumberIDs, checkSameIDs, checkSameNRows, checkSameNSelectRows, checkSameSelectRows, checkSameSelectRows, checkSameUseRows, checkSameUseRows, checkValidRowRange, clone, cloneVariableFrom, combineSelectedWithSavedSelectedRows, copyDescriptives, copySelectStateFrom, customColorFromData, customColorSelectedRows, customColorSelectedRows, deleteAllRows, deleteDuplicateRows, deleteMissingRows, deleteNonSelectedRows, deleteRow, deleteRowNoCheck, deleteSelectedRows, deselectAllRows, fill, fill, fill, fill, fill, fill, fillDescriptives, fillDescriptives, fillMoreDescriptives, fillWithParser, fillWithVariable, 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, 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, makeNewDescriptives, makeTableSubSet, matchedIDs, replaceSelectedRows, 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 StrVariable(java.lang.String varName, VariableOrganizer theOwner) throws java.lang.Exception
varName
- assigns a name 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 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 Variable cloneSelectedRowsOnly() throws java.lang.Exception
cloneSelectedRowsOnly
in class Variable
java.lang.Exception
- if ...public void selectValue(java.lang.String matchString, boolean fromPrevSelected) throws java.lang.Exception
matchString
- lists the String to compare withfromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
- if ...Copyright 2016