mean_dist_to_sf {metamer} | R Documentation |
Mean distance to an sf object
Description
Mean distance to an sf object
Usage
mean_dist_to_sf(target, coords = c("x", "y"), buffer = 0, squared = TRUE)
Arguments
target |
An sf object. |
coords |
Character vector with the columns of the data object that define de coordinates. |
buffer |
Buffer around the sf object. Distances smaller
than |
squared |
Logical indicating whether to compute the mean squared
distance (if |
See Also
Other helper functions:
delayed_with()
,
densify()
,
draw_data()
,
mean_dist_to()
,
mean_self_proximity()
,
moments_n()
,
truncate_to()
[Package metamer version 0.3.0 Index]