Displaying 1 result from an estimated 1 matches for "smoking_status".
2007 Dec 20
0
Data bug that read.csv doesn't like
...ata file are fixed, but is there anything I can to
do avoid this in the future (other than avoiding Chinese characters).
Any ideas as to what is going on here? I've attached the piece of the
data file I used for the example below.
Best,
Randy
> read.csv('../data/tmp.csv')
Smoking_status Age_start_smoking Pack_day
1 0
2 0
3 missing missing missing
4 1 18 \xc9\xd9\xc1\xbf
5 1 20 1
> read.csv('../data/tmp.csv', na.strings = 'missing')...