|
ToolsTies Method (Double, SortedDictionaryDouble, Int32)
|
Gets the number of ties and distinct elements in a rank vector.
Namespace:
Accord.Statistics
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static int[] Ties(
this double[] ranks,
out SortedDictionary<double, int> counts
)
<ExtensionAttribute>
Public Shared Function Ties (
ranks As Double(),
<OutAttribute> ByRef counts As SortedDictionary(Of Double, Integer)
) As Integer()
Request Example
View SourceParameters
- ranks
- Type: SystemDouble
- counts
- Type: System.Collections.GenericSortedDictionaryDouble, Int32
Return Value
Type:
Int32Usage 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