Description Usage Arguments Examples
Adjust triangulation by by dividing a densely populated triangle into smaller triangles by adding 3 points at the middle of each side of the triangle
1 2 3 4 5 6 7 8 | vary_density(
sample,
x,
y,
label = seq_along(x),
basemap = NULL,
crs = "+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0"
)
|
sample |
A data frame containing selected villages for sampling. This is the
data frame produced by |
x |
A character value specifying the variable name in |
y |
A character value specifying the variable name in |
label |
A character value specifying the variable name in |
basemap |
A SpatialPolygonsDataFrame of base map to show when plotting triangulation. Default is NULL |
crs |
A character vector specifying the coordinate reference system to use for the spatial objects. Default is longlat projection for datum WGS84 |
1 | #
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.