Returns a Filter that selects all observations that lie between the specified values.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function Between ( _ lowerBound As Object, _ upperBound As Object _ ) As Filter |
| C# |
|---|
public Filter Between ( Object lowerBound, Object upperBound ) |
| C++ |
|---|
public: Filter^ Between ( Object^ lowerBound, Object^ upperBound ) |
Parameters
- lowerBound (System.Object)
- A Object value.
- upperBound (System.Object)
- A Object value.
Return Value
A Filter that selects all observations greater than or equal to lowerBound and less than or equal to upperBound.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | The variable's Scale is not ordered. |
| ArgumentOutOfRangeException | lowerBound is not a valid value for an observation.
-or- upperBound is not a valid value for an observation. |