extract the grts sample

extract_sample(
  grtsdb = connect_db(),
  samplesize,
  bbox,
  cellsize,
  verbose = TRUE,
  offset
)

Arguments

grtsdb

the grtsdb object

samplesize

the required sample size

bbox

A two-column matrix. The first column has the minimum, the second the maximum values. Rows represent the spatial dimensions.

cellsize

The size of each cell. Either a single value or one value for each dimension.

verbose

Display progress

offset

An optional number of samples to skip. This is useful in cases where you need extra samples.

See also

Other base: add_level(), connect_db(), reexports