Displaying 1 result from an estimated 1 matches for "nations2".
Did you mean:
nations
2004 Oct 06
3
read.delim problem with trailing spaces
...3,4,0,139.0,120,.
Belgium,3346,17.0,3,0,11.2,12180,70.6
Benin,81,109.6,2,0,109.6,300,.
Bolivia,200,60.4,1,0,77.3,570,49.7
Brazil,425,170.0,1,0,84.0,2020,60.7
Britain,2503,17.5,3,0,12.6,7920,72.0
Burma,73,200.0,4,0,195.0,180,42.3
...
and I used
> nations <-
read.delim("~/sasuser/data/nations2.dat",na.strings=".",row.name=1,sep=",",header=TRUE)
> nations[1:10,]
income imr region oilexprt imr80 gnp80 life
Afghanistan 75 400.0 4 0 185.0 NA 37.5
Algeria 400 86.3 2 1 20.5 1920 50.7
Argentina 1191 59.6...