Displaying 1 result from an estimated 1 matches for "rownamem".
Did you mean:
rownames
2002 Nov 04
3
write table and dinnames
I would write in tab-text file a table like this one:
TAB colname1 TAB colname2 TAB TAB... colnameN
rowname1 # # #
rowname2 # # #
rownameM # # #
then I wrote something like:
mymatrix <- matrix(nrow=M,ncol=N,byrow=T)
rownames(mymatrix) <- chvector1
colnames(mymatrix) <- chvector2
write.table(mymatrix,file=myfile,sep="\t").
But I obtained:
colname1 TAB colname2 TAB TAB......