Hi,
Although I set check.names to FALSE in read.table, the duplicate names get
modified. What should be done in this case?
the text file to be read by read.table
AM2 AM2 AM2 FAL
2 3 4 5
1 -1 -3 -2
t = read.table ("my_file",
check.names = FALSE, header = T)
> t
AM2 AM2.1 AM2.2 FAL
2 3 4 5
1 -1 -3 -2
instead of
AM2 AM2 AM2 FAL
2 3 4 5
1 -1 -3 -2
Best,
carol
[[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.