geom_point | R Documentation |
Constructs geometries from numeric vectors.
geom_point(x, y)
geom_multipoint(x, y, id = 1)
geom_linestring(x, y, id = 1)
geom_polygon(x, y, id = 1, ring = 1)
x |
a vector of x coordinates |
y |
a vector of y coordinates |
id |
the feature identifier |
ring |
the id of the polygon ring |
an object of class rsgeo
geom_point(3, 0.14)
geom_multipoint(1:10, 10:1)
geom_linestring(1:10, 10:1)
geom_polygon(c(0, 1, 1, 0, 0), c(0, 0, 1, 1, 0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.