public class AngleVariable extends NumberVariable implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
CircularDescriptives |
itsCDescriptives |
itsNDescriptives, validDataSorted
autoExtracted, hasDefaultColors, isSorted, itsDescriptives, itsFormula, itsLineColor, itsLocationColor, kEuclidian, kGower, kJaccard, kManhattan, kSquEuclidian, plotMarker, rand
Constructor and Description |
---|
AngleVariable(java.lang.String varName,
VariableOrganizer theOrganizer)
Standard constructor for the root number Variable class using a VariableOrganizer
|
Modifier and Type | Method and Description |
---|---|
void |
asCircularGraph()
Creates a presenter and plots the movement vectors as a circular graph
|
double |
betweenAngle(double AngleFrom,
double AngleTo)
find the angle that is halfway between the two angles in a clockwise direction
|
java.lang.Object |
clone()
clone the object
|
CircularDescriptives |
copyCircularDescriptives()
returns descriptive Circular Statistic for the variable using the currently
selected set of rows
|
int |
countNEq(double AngleFrom,
double AngleTo)
find the number of angles that are between or equal the two angles in a clockwise direction
|
int |
countNLe(double AngleFrom,
double AngleTo)
find the number of angles that are between or equal the two angles in a clockwise direction
|
void |
fillDescriptives(java.lang.Double hypMean)
fills the descriptive circular statistics for the angle variable with a comparison to an external mean
|
void |
fillDescriptives(java.lang.Double hypMean,
boolean extraStats)
fills the descriptive circular statistics for the angle variable with a comparison to an external mean
|
AngleVariable |
fillInterestingAngles()
fills a variable with angles that should be examined
|
AngleVariable |
fillInterestingMedianAngles()
fills a variable with angles that should be examined as median
|
void |
fillMoreDescriptives()
fills additional descriptive circular statistics for the angle variable
|
void |
fillWithParser(DataFileParser aParser,
int varNum,
boolean firstRowAsLabels)
fills the variable with individual data values read from a textfile using a
DataFileParser object
|
void |
fillWithParserRadians(DataFileParser aParser,
int varNum,
boolean firstRowAsLabels)
fills the variable with individual data values read from a textfile using a
DataFileParser object
|
void |
fillWithRandomFromDistribution(NumberVariable theDistribution)
fills the variable with random values from a Gaussian Distribution
|
void |
fillWithUniformRandom()
fills the variable with random values from a uniform distribution between 0 and 360
|
int[] |
getAngleFrequencies()
creates and returns a variable containing the series of time distances between captures
|
CircularDescriptives |
getCircularDescriptives()
returns descriptive Circular Statistic for the variable using the currently
selected set of rows
|
CircularDescriptives |
getCircularDescriptives(boolean extraStats)
returns descriptive Circular Statistic for the variable using the currently
selected set of rows
|
Descriptives |
getDescriptives()
returns the descriptives for the variable
|
Descriptives |
getDescriptives(boolean extraStats)
returns the descriptives for the variable
|
double |
getDistance(double AngleFrom,
double AngleTo)
find the angle that is halfway between the two angles in a clockwise direction
|
Descriptives[] |
getGroupDescriptives(Variable theXVar)
lists the descriptives for the groups identified by X
|
double |
getHodgesN()
fills the descriptive circular statistics for the angle variable
|
double |
getHodgesP(double HodgesN)
returns the angle where the maximum number of angles are clustered within a range of 180 degrees
|
double |
getMedian()
fills the descriptive circular statistics for the angle variable
|
double |
getRaoSpacing()
returns Rao's Spacing Statistic for the variable using the currently
selected set of rows.
|
double |
getRayleighR()
returns Rayleigh's R Statistic for the variable using the currently
selected set of rows
|
double |
getRayleighZ()
returns Rayleigh's Z Statistic for the variable using the currently
selected set of rows
|
double |
getV(java.lang.Double hypothDegrees)
returns V for the Modified Rayleigh Test for Uniformity vs.
|
ANOVAResults |
getWatsonU2Results(Variable theXVar)
returns the results from an analysis of differences in mean angles for a variable of locations
|
ANOVAResults |
getWatsonWilliamsFResults(Variable theXVar)
returns the results from an analysis of differences in mean angles for a variable of locations
|
ANOVAResults |
getWheelerWResults(Variable theXVar)
returns the results from an analysis of differences in mean angles for a variable of locations
|
void |
listAutoExtractedInfo(int varNum)
describes what was extracted from the dataFileParser
|
void |
listGroupDescriptiveItem()
lists the descriptives for the groups identified by X
|
void |
listGroupDescriptives(Variable theXVar)
lists the descriptives for the groups identified by X
|
void |
listGroupDescriptiveTitles()
lists the descriptives for the groups identified by X
|
void |
makeNewDescriptives()
create a new set of descriptives for the variable the object
|
double |
selectAngleRangeN(double AngleFrom,
double AngleTo)
select all rows with a value between the lower and upper limits provided.
|
void |
selectRange(double AngleFrom,
double AngleTo,
boolean fromPrevSelected)
select all rows with a value between the lower and upper limits provided when moving in a clockwise fashion.
|
void |
selectRange(double AngleFrom,
double AngleTo,
boolean clockWise,
boolean fromPrevSelected)
select all rows with a value between the lower and upper limits provided.
|
void |
setAnglesType()
sets the variable to type ANGLES
|
void |
setValue(int row,
double val)
sets a general object for a given row of the Vector
|
void |
subtract(AngleVariable aAngleVar)
sets a double value for a given row of the Vector
|
absolute, add, asAngleVariable, asHistogram, asHistogram, asNormalQuantilePlot, asTimeVariable, asXYPlot, asXYPlot, asXYPlot, asXYPlot, asXYPlot, checkInOrder, checkInOrder, copyNumberDescriptives, distance, divide, doCorrelationAnalysis, doPruneClosePeaks, doRegressionAnalysis, doRegressionAnalysis, fillCompleteTerms, fillCP, fillSS, fillWithFormula, fillWithGaussRandom, fillWithRowNum, getANOVAResults, getANOVAResults, getAutoCorrelationResults, getBinMeans, getCentered, getCorrelationResults, getDoubleValue, getFirstDerivative, getFrequencies, getManWhitneyUResults, getMaxValue, getMeanValue, getMinValue, getMovingAverageSmoothing, getMultLinRegressionResults, getNumberDescriptives, getPeakData, getPeakIntervals, getPeakLocations, getPeaksPalshikar, getPeakTriggeredTraces, getPeakValues, getRange, getRanks, getRegressionResiduals, getRegressionResiduals, getRegressionResiduals, getRegressionResults, getRegressionResults, getRegressionResults, getSDValue, getSignedRank, getSignedRankW, getSignedRankWProbability, getSquEuclidian, getSumValue, gettTestResults, gettValue, getVarianceValue, getzQuantiles, getzTransform, invalidDescriptives, listCorrelationResults, listMultLinRegressionResults, listPeaks, listRegressionResults, listRegressionResults, listRegressionResults, multiply, multiply, power, rank, selectAbove, selectAboveEqual, selectBelow, selectBelowEqual, selectEqual, setContinuousType, sign, subtract
addValue, addValue, addValue, addValue, append, asJAMAMatrix, asVariableOrganizer, checkAllUseRows, checkLocked, checkMatchingRows, checkMinUseRows, checkNumberIDs, checkSameIDs, checkSameNRows, checkSameNSelectRows, checkSameSelectRows, checkSameSelectRows, checkSameUseRows, checkSameUseRows, checkValidRowRange, cloneEmpty, cloneSelectedRowsOnly, cloneVariableFrom, combineSelectedWithSavedSelectedRows, copyDescriptives, copySelectStateFrom, customColorFromData, customColorSelectedRows, customColorSelectedRows, deleteAllRows, deleteDuplicateRows, deleteMissingRows, deleteNonSelectedRows, deleteRow, deleteRowNoCheck, deleteSelectedRows, deselectAllRows, fill, fill, fill, fill, fill, fill, fillDescriptives, fillWithParser, fillWithVariable, findFirstSelectRow, findFirstUseRow, findLastSelectRow, findLastUseRow, findNextNonMissingRow, findNextSelectRow, findNextUseRow, findNextValue, findPreviousSelectRow, findPreviousUseRow, getabasedintValue, getAbasedintValue, getArray, getbooleanValue, getcharValue, getCombinedIDs, getCrossTabulation, getCrossTabulation, getCustomColorRow, getdoubleArray, 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, invertSelectedRows, isAngleType, isContinuousType, isDateTimeFormat, isLocationType, isLocked, isNominalType, isNumberFormat, isOrdinalType, isStringFormat, isValidRowRange, isXVariable, isYVariable, listDescriptives, listDescriptives, 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, 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 CircularDescriptives itsCDescriptives
public AngleVariable(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 java.lang.Object clone()
public void setAnglesType() throws java.lang.Exception
setAnglesType
in class Variable
java.lang.Exception
- if ...public void listAutoExtractedInfo(int varNum) throws java.lang.Exception
varNum
- the index of the variable numberjava.lang.Exception
public void fillWithParser(DataFileParser aParser, int varNum, boolean firstRowAsLabels) throws java.lang.Exception
fillWithParser
in class NumberVariable
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 fillWithParserRadians(DataFileParser aParser, int varNum, boolean firstRowAsLabels) 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 void fillWithUniformRandom() throws java.lang.Exception
fillWithUniformRandom
in class NumberVariable
java.lang.Exception
public void fillWithRandomFromDistribution(NumberVariable theDistribution) throws java.lang.Exception
fillWithRandomFromDistribution
in class NumberVariable
theDistribution
- a distribution from which to sample random numbersjava.lang.Exception
public void setValue(int row, double val) throws java.lang.Exception
public void selectRange(double AngleFrom, double AngleTo, boolean fromPrevSelected) throws java.lang.Exception
selectRange
in class NumberVariable
AngleFrom
- the one limitAngleTo
- the other limitfromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectRange(double AngleFrom, double AngleTo, boolean clockWise, boolean fromPrevSelected) throws java.lang.Exception
AngleFrom
- the one limitAngleTo
- the other limitclockWise
- notes whether the search should be performed on in a clockwise fashionfromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public double selectAngleRangeN(double AngleFrom, double AngleTo) throws java.lang.Exception
AngleFrom
- the one limitAngleTo
- the other limitjava.lang.Exception
public void listGroupDescriptives(Variable theXVar) throws java.lang.Exception
listGroupDescriptives
in class NumberVariable
theXVar
- variable that contains information on group assignmentjava.lang.Exception
- if ...public void listGroupDescriptiveTitles()
public void listGroupDescriptiveItem() throws java.lang.Exception
java.lang.Exception
public void makeNewDescriptives()
makeNewDescriptives
in class NumberVariable
public void fillDescriptives(java.lang.Double hypMean) throws java.lang.Exception
fillDescriptives
in class NumberVariable
hypMean
- the value of the a-priori hypothesis meanjava.lang.Exception
- if ...public void fillDescriptives(java.lang.Double hypMean, boolean extraStats) throws java.lang.Exception
hypMean
- the value of the a-priori hypothesis meanextraStats
- calculate additional circular statisticsjava.lang.Exception
public void fillMoreDescriptives() throws java.lang.Exception
fillMoreDescriptives
in class Variable
java.lang.Exception
- if ...public CircularDescriptives getCircularDescriptives(boolean extraStats) throws java.lang.Exception
java.lang.Exception
public CircularDescriptives getCircularDescriptives() throws java.lang.Exception
java.lang.Exception
public CircularDescriptives copyCircularDescriptives() throws java.lang.Exception
java.lang.Exception
public Descriptives[] getGroupDescriptives(Variable theXVar) throws java.lang.Exception
getGroupDescriptives
in class NumberVariable
theXVar
- variable that contains information on group assignmentjava.lang.Exception
public Descriptives getDescriptives() throws java.lang.Exception
getDescriptives
in class Variable
java.lang.Exception
- if ...public Descriptives getDescriptives(boolean extraStats) throws java.lang.Exception
extraStats
- calculate additional circular statisticsjava.lang.Exception
public int countNEq(double AngleFrom, double AngleTo) throws java.lang.Exception
AngleFrom
- the one limitAngleTo
- the other limitjava.lang.Exception
public int countNLe(double AngleFrom, double AngleTo) throws java.lang.Exception
AngleFrom
- the one limitAngleTo
- the other limitjava.lang.Exception
public void subtract(AngleVariable aAngleVar) throws java.lang.Exception
aAngleVar
- the angles to subtractjava.lang.Exception
public double getDistance(double AngleFrom, double AngleTo) throws java.lang.Exception
AngleFrom
- the one limitAngleTo
- the other limitjava.lang.Exception
public double betweenAngle(double AngleFrom, double AngleTo) throws java.lang.Exception
AngleFrom
- the one limitAngleTo
- the other limitjava.lang.Exception
public int[] getAngleFrequencies() throws java.lang.Exception
java.lang.Exception
public double getRayleighR() throws java.lang.Exception
java.lang.Exception
public double getRayleighZ() throws java.lang.Exception
java.lang.Exception
public double getRaoSpacing() throws java.lang.Exception
java.lang.Exception
public double getV(java.lang.Double hypothDegrees) throws java.lang.Exception
hypothDegrees
- the degrees under the hypothesisjava.lang.Exception
public ANOVAResults getWatsonWilliamsFResults(Variable theXVar) throws java.lang.Exception
theXVar
- variable that contains information on group assignmentjava.lang.Exception
public ANOVAResults getWatsonU2Results(Variable theXVar) throws java.lang.Exception
theXVar
- variable that contains information on group assignmentjava.lang.Exception
public ANOVAResults getWheelerWResults(Variable theXVar) throws java.lang.Exception
theXVar
- variable that contains information on group assignmentjava.lang.Exception
public AngleVariable fillInterestingAngles() throws java.lang.Exception
java.lang.Exception
public AngleVariable fillInterestingMedianAngles() throws java.lang.Exception
java.lang.Exception
public double getHodgesP(double HodgesN) throws java.lang.Exception
HodgesN
- the number of anglesjava.lang.Exception
public double getHodgesN() throws java.lang.Exception
java.lang.Exception
public double getMedian() throws java.lang.Exception
java.lang.Exception
public void asCircularGraph()
RH, 2017