powered by
delete rows and cols of matrix m that contain all "0"s
removeZeroRowsCols(m)
returns an altered version of character matrix m with removed rows and columns
character matrix whose entries are either "0" or "1"
if(interactive()){ load("data/x_m2.RData") m3<-removeZeroRowsCols(x_m2) }
Run the code above in your browser using DataLab