[R] Easiest way to get the mean of a row of a data.frame?

Sven C. Koehler schween at snafu.de
Wed Dec 17 11:16:43 CET 2003


Thanks, you've helped me alot!

-S.

On Wed, Dec 17, 2003 at 09:43:44AM +0100, Philipp Pagel wrote:
> rowMeans(USArrest)
> 
> does what you want.




More information about the R-help mailing list