Example usage for Java org.apache.commons.math3.stat.ranking NaturalRanking fields, constructors, methods, implement or subclass
The text is from its open source code.
NaturalRanking(NaNStrategy nanStrategy, TiesStrategy tiesStrategy) Create a NaturalRanking with the given NaNStrategy and TiesStrategy. | |
NaturalRanking(NaNStrategy nanStrategy, RandomGenerator randomGenerator) Create a NaturalRanking with the given NaNStrategy, TiesStrategy.RANDOM and the given source of random data. | |
NaturalRanking() Create a NaturalRanking with default strategies for handling ties and NaNs. |
double[] | rank(double[] data) Rank data using the natural ordering on Doubles, with NaN values handled according to nanStrategy and ties resolved using tiesStrategy. |