filterColMatrix {viper}R Documentation

Filter for columns of a matrix with no loss of col and row names

Description

This function filters the columns of a matrix returning always a two dimensional matrix

Usage

filterColMatrix(x, filter)

Arguments

x

Matrix

filter

Logical or numerical index of columns

Value

Matrix


[Package viper version 1.27.1 Index]