Java org.apache.commons.math3.stat.ranking NaturalRanking fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math3.stat.ranking NaturalRanking fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math3.stat.ranking NaturalRanking.

The text is from its open source code.

Subclass

org.apache.commons.math3.stat.ranking.NaturalRanking has subclasses.
Click this link to see all its subclasses.

Constructor

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.

Method

double[]rank(double[] data)
Rank data using the natural ordering on Doubles, with NaN values handled according to nanStrategy and ties resolved using tiesStrategy.