removeZeroRowsCols | R Documentation |
delete rows and cols of matrix m that contain all "0"s
removeZeroRowsCols(m)
m |
character matrix whose entries are either "0" or "1" |
returns an altered version of character matrix m with removed rows and columns
if(interactive()){
load("data/x_m2.RData")
m3<-removeZeroRowsCols(x_m2)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.