remove.cols: Remove cols specified by indices.

View source: R/MatrixUtil.r

remove.colsR Documentation

Remove cols specified by indices.

Description

Remove cols specified by indices.

Usage

remove.cols(mx, indices)

Arguments

mx

matrix

indices

indices to remove. If indices is length zero, then mx is return as is.

Value

the matrix mx with columns removed. Names and any "meta" attribute preserved. Always returns a matrix.


kcha193/simarioV2 documentation built on April 8, 2024, 4:51 p.m.