Skip to contents

Extract sample-group metadata from a GDS object

Usage

sample_groups(
  x,
  vars = c("feature_group", "spatial_group", "group", "parcel", "parcel_id")
)

Arguments

x

A GDS object or plan

vars

Candidate column names searched in row_data(x)

Value

A vector of group labels or NULL when unavailable