Learn R Programming

spsurvey (version 4.1.4)

constructAddr: Construct the Hierarchical Addresses for a Generalized Random-Tesselation Stratified (GRTS) Survey Design

Description

This function constructS the hierarchical addresses for a GRTS survey design.

Usage

constructAddr(xc, yc, dx, dy, nlev)

Arguments

xc

Vector of x-coordinates for the grid cells.

yc

Vector of y-coordinates for the grid cells.

dx

The x-axis grid cell dimension.

dy

The y-axis grid cell dimension.

nlev

Number of hierarchical levels for the grid.

Value

Vector of hierarchical addresses.