[R] a^c(1:3)

Ben Bolker bbolker at gmail.com
Tue Sep 7 19:56:15 CEST 2010


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.



More information about the R-help mailing list