Feng Li <feng.li <at> stat.su.se> writes: > > Very fruitful, thanks all of you:) > ?sweep may be useful as well (I don't think anyone has mentioned it yet, sorry if redundant). It handles row/column-wise operations in a way that is independent of the underlying column/row ordering or recycling rules.