Package | Description |
---|---|
org.apache.commons.math3.stat.ranking |
Classes providing rank transformations.
|
Modifier and Type | Method and Description |
---|---|
private NaturalRanking.IntDoublePair[] |
NaturalRanking.removeNaNs(NaturalRanking.IntDoublePair[] ranks)
Returns an array that is a copy of the input array with IntDoublePairs
having NaN values removed.
|
Modifier and Type | Method and Description |
---|---|
int |
NaturalRanking.IntDoublePair.compareTo(NaturalRanking.IntDoublePair other)
Compare this IntDoublePair to another pair.
|
private boolean |
NaturalRanking.containsNaNs(NaturalRanking.IntDoublePair[] ranks)
Checks for presence of NaNs in
ranks. |
private java.util.List<java.lang.Integer> |
NaturalRanking.getNanPositions(NaturalRanking.IntDoublePair[] ranks)
Returns a list of indexes where
ranks is NaN. |
private void |
NaturalRanking.recodeNaNs(NaturalRanking.IntDoublePair[] ranks,
double value)
Recodes NaN values to the given value.
|
private NaturalRanking.IntDoublePair[] |
NaturalRanking.removeNaNs(NaturalRanking.IntDoublePair[] ranks)
Returns an array that is a copy of the input array with IntDoublePairs
having NaN values removed.
|