Click or drag to resize
MultivariateSampleColumns Method (IListInt32)
Gets the indicated columns as a multivariate sample.

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 3.1.0.0 (3.1.0.0)
Syntax
public MultivariateSample Columns(
	IList<int> columnIndexes
)

Parameters

columnIndexes
Type: System.Collections.GenericIListInt32
A list of column indexes.

Return Value

Type: MultivariateSample
A read-only MultivariateSample consisting of the indicated columns.
Remarks

Use this method to perform multivariate analyses, such as regression and principal component analyis, using only a subset of the variables in the original multivariate sample.

Note that this is a fast operation, which does not create independent copies of the columns.

See Also