Skip to content
Prev 167055 / 398502 Next

remove columns containing all zeros (or other value)

or this

x[,!(colSums(abs(x)) == 0)]
On Jan 15, 10:00?am, Marc Schwartz <wdwgol... at gmail.com> wrote: