Learn R Programming

ivmte (version 1.4.0)

extractcols: Auxiliary function: extracting columns by component names

Description

Auxiliary function to extract columns from a matrix based on column names.

Usage

extractcols(M, components)

Arguments

M

The matrix to extract from.

components

The vector of variable names.