Learn R Programming

viper (version 1.6.0)

filterRowMatrix: Filter for rows of a matrix with no loss of col and row names

Description

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

Usage

filterRowMatrix(x, filter)

Arguments

x
Matrix
filter
Logical or numerical index of rows

Value

Matrix