[R] dimnames

cstrato@EUnet.at cstrato at EUnet.at
Sun Nov 14 20:50:38 CET 1999


Hi,

Maybe this is a simple question:

Using S-Plus, and having a matrix m with row- and col-names, I have the
following problem:

When I import into a function the one-column matrix m[,i], I am no
longer able to get the
column name. Is there a way to get the column-name?

(Although attributes(m) displays row- and col-names, attributes(m[,i])
does no longer show
the col-name.)

Thank  you for your help
Christian Stratowa

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list