Displaying 1 result from an estimated 1 matches for "acoordinates".
Did you mean:
coordinates
2010 May 14
1
point.in.polygon() in sp package: accuracy problems?
...2 3 4 5 6 7 8
"CLAY" = c(10.50, 11.05, 20.91, 20.95, 20.00, 00.00, 01.96, 01.24),
"SILT" = c(00.00, 00.00, 79.09, 79.05, 80.00, 02.00, 00.00, 00.00),
"SAND" = c(89.50, 88.95, 00.00, 00.00, 00.00, 98.00, 98.04, 98.76)
) #
# ACoordinates of the polygon
my.pol <- data.frame( "x" = c(0,0,100), "y" = c(0,100,0) )
# Set up plot scene
plot( x = my.pol$"x", y = my.pol$"y" )
# Draw the polygon
polygon(
x = my.pol$"x",
y = my.pol$"y",
border = "red&...