%DeepSee.Aggregate.PercentileRank
Class %DeepSee.Aggregate.PercentileRank Extends aggregate [ System = 4 ]
Properties
value
Property value As %Double;
Target value
SortedValues
Property SortedValues [ MultiDimensional ];
Sorted array of processed values
Methods
ProcessValue
Method ProcessValue(pValue As %Double) As %Status
ProcessValue is called sequentially on each value in a target set. This sorts the values by filing them into the SortedValues array with the incoming value as the first subscript.
GetResult
Method GetResult(Output pStatus As %Status) As %Double
Returns the percentile rank. Returns 100% for an empty data set.