Removes the observation at the specified index.

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

Syntax

Visual Basic (Declaration)
Public MustOverride Sub RemoveAt ( _
	index As Integer _
)
C#
public abstract void RemoveAt (
	int index
)
C++
public:
virtual void RemoveAt (
	int index
) abstract

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

ExceptionCondition
InvalidOperationException The variable is contained in a VariableCollection.
ArgumentOutOfRangeExceptionindex is less than zero or greater than or equal to the number of observations.