Parcel centroids using geodesic medoids
Arguments
- labeled_surface
A
LabeledNeuroSurface.- method
"medoid"(geodesic mean distance) or"euclidean"(closest to Euclidean centroid).- component_policy
How to handle fragmented parcels:
"error","largest","each","merge".- weights
Optional numeric edge weights (defaults to
E(g)$dist).- chunk_size
Number of source vertices per Dijkstra batch.
- cache
Logical; cache symmetric results when
targetsis NULL or identical tovertices.