Displaying 1 result from an estimated 1 matches for "dftxt".
2013 Aug 21
3
data import: strange experience
...e and would greatly appreciate your suggestion in
advance.
The original data set in excel format.
Here is a brief summary of the procedure I did:
1. I saved the original excel data as csv and txt formats, separately.
2. I imported two data using the following codes. There were no error
messages.
dftxt = read.table('df.txt',header=T, sep='\t')
dfcsv = read.csv('df.csv',header=T, sep=',')
3. When I checked data with 'str', I found that factor levels of a variable
were different each other.
Levels of dftxt were less than those of dfcsv (48 vs 52).
4. So, I ch...