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: (
public MultivariateSample Columns(
	IList<int> columnIndexes


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

Return Value

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

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