Inserts an observation to the variable at the specified index.

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

Syntax

Visual Basic (Declaration)
Public Overrides Sub Insert ( _
	index As Integer, _
	value As Object _
)
C#
public override void Insert (
	int index,
	Object value
)
C++
public:
virtual void Insert (
	int index, 
	Object^ value
) override

Parameters

index (System.Int32)
The zero-based index at which value should be inserted.
value (System.Object)
The observation to insert.

Exceptions

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

-or-

value is not a valid value for the observation.