R |
sp |
|||

GEOMETRY |
data structure |
visualization method |
data structure |
visualization method |

DATA |
matrix data.frame |
hist, scatter, etc | ||

POINT |
(x1, x2) | plot, point(add) | SpatialPoints | plot |

GRID |
matrix (r x c) array |
image(matrix) | SpatialGrid SpatialPixels |
image |

LINE |
matrix (n x 2) | line | SpatialLines | plot |

RECTANGLE |
matrix (n+1 x 2) | polygon | plot | |

matrix(n x 2) | rectangle(xl, xb, yr, xt) | |||

POLYGON |
matrix(n + 1 x 2) | polygon(add) | SpatialPolygons | plot |

GRAPH |
neighbor | plot |