[R] question

From: Jessica G. <jessn2_at_hotmail.com>
Date: Sat 05 Aug 2006 - 01:12:24 EST

Hi Mr Plate,

I have a little question

How to convert a rowname vector of numbers into a real column of the matrix,

My problem is that I applied a rowsum function on a matrix. Then I get a matrix in which the names of the columns are the values of the group (numbers)
Now I need to make calculation on the groups row.
How to convert this vector of (rownames) into a real column in the matrix ?

thanks by advance

Jessica Gervais


R-help@stat.math.ethz.ch 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. Received on Sat Aug 05 01:18:44 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 06 Aug 2006 - 00:17:33 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.