removeZeroRowsCols {foodwebWrapper}R Documentation

removeZeroRowsCols

Description

delete rows and cols of matrix m that contain all "0"s

Usage

removeZeroRowsCols(m)

Arguments

m

character matrix whose entries are either "0" or "1"

Value

returns an altered version of character matrix m with removed rows and columns

Examples

if(interactive()){
load("data/x_m2.RData")
m3<-removeZeroRowsCols(x_m2)
}


[Package foodwebWrapper version 1.1.0 Index]