shanmuha boopathy a écrit : > a<-matrix(1:6,2) > ro<-c("aa","bb") > co<-c("dd","ee","ff") > dimnames(a)<-list(ro,co)
(Not sure I fully understand the question), but : rn = rownames(a); cn = colnames(a); ______________________________________________ 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