Removes the observation at the specified index.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overrides Sub RemoveAt ( _ index As Integer _ ) |
| C# |
|---|
public override void RemoveAt ( int index ) |
| C++ |
|---|
public: virtual void RemoveAt ( int index ) override |
Parameters
- index (System.Int32)
- The zero-based index of the observation to remove.
Remarks
This operation is not allowed on variables that are contained in a VariableCollection.
Use the RemoveAt(Int32) method of the collection's
Observations collection to remove the entire observation from the data.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | The variable is contained in a VariableCollection. |
| ArgumentOutOfRangeException | index is less than zero or greater than or equal to the number of observations. |