Apply coordinate function (internal wrapper)
apply_coord_fn_(..., cols, coord_fn, fn_name, coordinate_name)
Numeric vectors
or a single data.frame
.
Names of columns to use when `...`
is a single data.frame
.
Function that takes each vector
/column
as separate args via ...
and
returns a vector
with one value per input vector
/column
.
Name of applied function for messages.
Name of coordinates (e.g. "centroid"
) for messages.