very new R user - northing and easting issue for window -
i want draw polygonal map in r (r3.0.2) , getting nowhere. polygon data is:
1768233.661.5912880.909 1767890.645,5912896.291 1767796.816,5913007.04 1767764.514,5913082.411 1767813.736,5913165.474 1767964.478,5913137.786 1768067.537,5913062.415 1768112.144,5913080.873 1768149.061,5913113.175 1768185.163,5913095.389 1768234.212,5913088.382 1768197.425,5913007.801 1768435.163,5912936.284 1768435.163,5912903.982 1768358.254,5912873.218 and i'm ok getting r, need enter northing, easting window not working - when input:
mydata <- read.table("treepolygon.csv", header = true) attach(mydata) x <- ppp(easting, northing, c(1767750.7261, 1768447.9275), c(5912848.3905, 5913186.4806)) i get:
the following object masked mydata (position 3): x1768233.661.5912880.909 following object masked mydata (position 4): x1768233.661.5912880.909 following object masked mydata (position 5): x1768233.661.5912880.909 i'm new @ , quite lost.
if you've copied exactly, problem might first data pair separated period instead of comma.
Comments
Post a Comment