sampled: The sampled units of a sample

View source: R/sampling.R

sampledR Documentation

The sampled units of a sample

Description

The rows of a select_units() sample that were selected, as a plain tibble, for pipelines: frame |> select_units(n) |> sampled().

Usage

sampled(sample)

Arguments

sample

A select_units() sample.

Value

A tibble with the sampled rows (coordinates, pi and the other columns).

Examples

cells <- expand.grid(x = 1:6, y = 1:6)
cells |>
  select_units(n = 5, seed = 1) |>
  sampled()

fieldopt documentation built on Oct. 22, 2026, 1:07 a.m.