Hi,
I have a data.frame object:
> a.df
Methods Score
1 Northern 1.3544227
2 Northern 0.8302436
3 RT-PCR 1.0011360
4 RT-PCR 1.1149423
If I write it out with write.table,
> write.table(a.df, file = 'data.txt', quote = FALSE, sep = '\t', row.names
= FALSE)
the data.txt is looks like:
Methods Score
Northern 1.35442268939541
Northern 0.830243615689926
RT-PCR 1.00113601434407
RT-PCR 1.11494230904995
My question is, can I merge the two "Northern" entries into one cell, like
the "Merge Cells" in MS Excel ?
Best,
Zhenjiang
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.