Displaying 1 result from an estimated 1 matches for "losewt".
Did you mean:
lose
2006 Sep 26
2
colClasses: supressed 'NA'
...5 lines of output is below.
File "test2.dat" has blanks that are read as "NA" when I do not use
'colClasses', but as blanks when I use 'colClasses'.
temp.df <- read.fwf("test2.dat", width=c(10,1,1,1,1,2,2,3,3,1),
col.names=c("psu","losewt","maintain","fewcal","phyact","age","income","weight",
"wtdesire","gender"),
colClasses=c("factor","factor","factor","factor","factor","numeric","fac...