Skip to contents

make_labels() is deprecated. Use make_region_labels() instead.

Usage

make_labels(
  x,
  region_col,
  label_col = region_col,
  point = c("point_on_surface", "centroid")
)

Arguments

x

An sf object in a projected CRS.

region_col

Column defining draggable groups.

label_col

Column used for label text. Defaults to region_col.

point

One of "point_on_surface" or "centroid".

Value

A drag label table.