Hi, On Thu, Dec 22, 2011 at 4:54 PM, Frederico Mestre <mestre.freder...@gmail.com> wrote: > Hello all: > > > > I'm sure this is quite simple, but I tried several options and I still can't > get I right. > > > > I've got a data.frame and I want to delete all columns of which the sum is > zero.
If this, then apply() and sum() are useful. If the problem in the subject line (NOT the same thing), all() rather than sum(). A reproducible example will get you usable code. Sarah > > > Any ideas? Thanks, > > > > Frederico Mestre > > -- Sarah Goslee http://www.functionaldiversity.org ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.