Click or drag to resize

MultivariateSampleColumns Method (IReadOnlyListInt32)

Gets the indicated columns as a multivariate sample.

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

Parameters

columnIndexes
Type: System.Collections.GenericIReadOnlyListInt32
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 analysis, 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