filterRowMatrix {viper}R Documentation

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


[Package viper version 1.14.0 Index]