JeeBee at troefpunt.nl
Sat Aug 5 14:46:29 CEST 2006
I think you want to use names()
?colnames (or rownames)
If not, it's perhaps a good idea to send us a more complete example.
On Fri, 04 Aug 2006 17:12:24 +0200, Jessica G. wrote:
> 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 ?
More information about the R-help