View source: R/balance_around.R
balance_around | R Documentation |
Combine existing and new points to create a spatially balanced design
balance_around( existing_points, new_points, stratafield = NULL, id_var, projection = "+proj=longlat +datum=NAD83 +no_defs +ellps=GRS80 +towgs84=0,0,0" )
existing_points |
Point sf object. The existing points that will be balanced around. |
new_points |
Point sf object. The points that will be compared against the existing points and selected from to create a balanced design. |
stratafield |
Character string. The name of the variable in common between |
id_var |
Character string. The name of the variable common between |
projection |
CRS object or character string. The projection to force on the spatial objects. Defaults to |
A point sf object containing all the points from existing_points
and the selected points from new_points
. The projection will match projection
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.