Skip to content
Prev 8123 / 398506 Next

assign names to matrix

On Thu, 16 Nov 2000 Pan_Yuming at aam.de wrote:

            
Lists have names(). Matrices don't have names(). They have dimnames() (or
colnames() and rownames()). You want to use dimnames instead.

	-thomas

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._