Displaying 1 result from an estimated 1 matches for "3607116".
2008 Feb 12
2
how to specify modes of certain fields in read.table
I have a data file with 50 columns. Among them, there are two
coordinates, X and Y
X
Y
641673.78807
3607080.78438
641436.56207
3607108.30543
641165.28042
3607136.82957
640879.58373
3607116.20568
When I use read.table, it rounds X and Y to the maximal 8 decimal number
as.
641673.8 3607081
641436.6 3607108
641165.3 3607137
640879.6 3607116
640683.5 3607105
My question is how to specify these two columns in read.table. Maybe
colClasses helps but I have 50 columns......