Constructs a new VariableCollection that represents a view of the specified range of observations in the current VariableCollection.

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

Syntax

Visual Basic (Declaration)
Public Function CreateView ( _
	startIndex As Integer, _
	endIndex As Integer _
) As VariableCollection
C#
public VariableCollection CreateView (
	int startIndex,
	int endIndex
)
C++
public:
VariableCollection^ CreateView (
	int startIndex, 
	int endIndex
)

Parameters

startIndex (System.Int32)
The index of the first observation to include in the view.
endIndex (System.Int32)
The exclusive index of the first observation to include in the view.

Return Value

A VariableCollection that represents a view of the observations from index startIndex to endIndex, exclusive.