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
)
Public Function Columns (
columnIndexes As IReadOnlyList(Of Integer)
) As MultivariateSample
public:
MultivariateSample^ Columns(
IReadOnlyList<int>^ columnIndexes
)
member Columns :
columnIndexes : IReadOnlyList<int> -> MultivariateSample
Parameters
- columnIndexes
- Type: System.Collections.GenericIReadOnlyListInt32
A list of column indexes.
Return Value
Type:
MultivariateSampleA 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