gen_sys: Two-dimensional systematic sample

Description Usage Arguments Details Value Author(s)

View source: R/sample_design.R

Description

Two-dimensional systematic sample

Usage

1
gen_sys(dis, ras_dim, start = NULL)

Arguments

dis

A vector of length two indicating the distance in pixels between sampling locations. The first element is the distance in y-direction, the second element the distance in x-direction.

ras_dim

Dimensions of the raster image on which to perform sampling. The first value is the number of rows, the second the number of columns.

start

A vector of length two indicating the starting point of the sampling grid. The first element is the row index, the second the column index. If NULL, a random start is generated.

Details

Sampling on irregular shapes is not implemented yet. The function assumes a recangular shape of the study area.

Value

A data.table object with row and column indices

Author(s)

Sebastian Schnell


sebschnell/gsgsim documentation built on May 20, 2019, 2:01 p.m.