public class VectorVariable extends Variable implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
SpatialDescriptives |
itsSDescriptives |
autoExtracted, hasDefaultColors, isSorted, itsDescriptives, itsFormula, itsLineColor, itsLocationColor, kEuclidian, kGower, kJaccard, kManhattan, kSquEuclidian, plotMarker, rand
Constructor and Description |
---|
VectorVariable(java.lang.String varName,
VariableOrganizer theOrganizer)
Standard constructor for the CaptureVariable class using a VariableOrganizer
|
Modifier and Type | Method and Description |
---|---|
void |
addValue(java.lang.Object anObject)
appends an Object to the end of the Variable
|
void |
fillDescriptives(java.lang.Double hypVal)
fills the descriptive statistics for the variable - locations
|
DataTable |
getDistanceMatrix(int DistanceMeasure)
calculates a matrix of distances between all valid (i.e., selected and non-missing) locations
|
NumberVariable |
getDistancesToLocation(SpatialVector aLocation)
returns the distances to one specific location
|
double |
getMeanDistanceToLocation(SpatialVector meanVec)
returns the average neighbor distance
|
SGPolygon |
getMinConvexPolygon()
returns the minimum convex polygon that includes the captures
|
SpatialDescriptives |
getSpatialDescriptives()
fills the descriptive statistics for the variable and returns the results
|
SpatialVector |
getSpatialVector(int row)
returns the SpatialVector stored at a given row of the Vector
|
VectorVariable |
getVectorsFromLocation(SpatialVector aLocation)
returns the distances from one specific location
|
AngleVariable |
getXYAngles()
returns a variable containing the angular speeds in deg/sec
|
void |
makeNewDescriptives()
create a new set of descriptives for the variable the object
|
void |
setValue(int row,
java.lang.Object anObject)
sets a general object for a given row of the Vector
|
GrahamPt2D[] |
toGrahamPt2DArray()
creates an array of GrahamPt2D
|
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, 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, 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, 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 SpatialDescriptives itsSDescriptives
public VectorVariable(java.lang.String varName, VariableOrganizer theOrganizer) throws java.lang.Exception
varName
- assigns a name (String) to the variabletheOrganizer
- 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 addValue(java.lang.Object anObject) throws java.lang.Exception
public void setValue(int row, java.lang.Object anObject) throws java.lang.Exception
public SpatialVector getSpatialVector(int row) throws java.lang.Exception
row
- the row in the vectorjava.lang.Exception
public AngleVariable getXYAngles() throws java.lang.Exception
java.lang.Exception
public VectorVariable getVectorsFromLocation(SpatialVector aLocation) throws java.lang.Exception
aLocation
- the location to which distances are calculatedjava.lang.Exception
public DataTable getDistanceMatrix(int DistanceMeasure) throws java.lang.Exception
DistanceMeasure
- what type of distance measure should be calculatedjava.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
public SGPolygon getMinConvexPolygon() throws java.lang.Exception
java.lang.Exception
public NumberVariable getDistancesToLocation(SpatialVector aLocation) throws java.lang.Exception
aLocation
- the location to which distances are calculatedjava.lang.Exception
public double getMeanDistanceToLocation(SpatialVector meanVec) throws java.lang.Exception
java.lang.Exception
public GrahamPt2D[] toGrahamPt2DArray() throws java.lang.Exception
java.lang.Exception
RH, 2017