Returns a Filter that selects all observations less than or equal to the corresponding observation in another variable.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Function LessThanOrEqualTo ( _
	variable As CategoricalVariable _
) As Filter
C#
public Filter LessThanOrEqualTo (
	CategoricalVariable variable
)
C++
public:
Filter^ LessThanOrEqualTo (
	CategoricalVariable^ variable
)

Parameters

variable (Extreme.Statistics.CategoricalVariable)
A CategoricalVariable of the same length as the current variable.

Return Value

A Filter that selects all observations less than or equal to the corresponding observation of variable.

Exceptions

ExceptionCondition
DimensionMismatchException The length of variable is not equal to the length of this instance.
ArgumentNullExceptionvariable is nullNothingnullptr.
InvalidOperationException The variable's Scale is not ordered.