Displaying 1 result from an estimated 1 matches for "chvector2".
Did you mean:
chvector1
2002 Nov 04
3
write table and dinnames
...name1 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... colnameN
rowname1 # # #
rowname2 # # #
rownameM # # #
How to put in first column a TAB ("\t")?
Thanks in advanc...