Hello,
I read in a tab delimited text file via mydata = read.delim(myfile). The text
file was originally an excel file where . was used in place of 0. Now all the
columns which should be integers are factors. Any ideas how to change all the .
to 0 and factors back to integer?
Thanks a lot in advance for any suggestions,
-- D
---------------------------------
[[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.