|
ToolsRank Method (Double, Boolean, Boolean, Boolean)
|
Gets the rank of a sample, often used with order statistics.
Namespace:
Accord.Statistics
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static double[] Rank(
this double[] samples,
out bool hasTies,
bool alreadySorted = false,
bool adjustForTies = true
)
<ExtensionAttribute>
Public Shared Function Rank (
samples As Double(),
<OutAttribute> ByRef hasTies As Boolean,
Optional alreadySorted As Boolean = false,
Optional adjustForTies As Boolean = true
) As Double()
Request Example
View SourceParameters
- samples
- Type: SystemDouble
- hasTies
- Type: SystemBoolean
- alreadySorted (Optional)
- Type: SystemBoolean
- adjustForTies (Optional)
- Type: SystemBoolean
Return Value
Type:
DoubleUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also