On Thu, Nov 20, 2008 at 12:28 PM, Gavin Simpson <[EMAIL PROTECTED]> wrote:
> But Prof. Ripley has pointed out (off list) that > > ffg[rowSums(ffg) > 0, ] I suggested much the same solution off-list (using apply rather than rowSums, as I'm apparently incapable of remembering the existence of the latter), but that's not quite correct either, as we don't know if there can be negative values. ffg[rowSums(ffg) != 0, ] is safer. Sarah -- 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.