sbcsamp: Calculate Spatial Balance Grid Cell Extent and Proportions...

Description Usage Arguments Value Author(s)

View source: R/sbcsamp.R

Description

This function calculates spatial balance grid cell extent and proportions for a survey design. The user must provide either sbc.frame or values for dx, dy, xc, and yc.

Usage

1
2
sbcsamp(spsample, sbc.frame = NULL, dx = NULL, dy = NULL,
  xc = NULL, yc = NULL)

Arguments

spsample

Object of class SpatialDesign produced by either the grts or irs functions that contains survey design information and additional attribute (auxiliary) variables.

sbc.frame

The object created by the sbcframe function. The default is NULL.

dx

Grid cell x-coordinate increment value. The default is NULL.

dy

Grid cell y-coordinate increment value. The default is NULL.

xc

Vector of grid cell x-coordinates. The default is NULL.

yc

Vector of grid cell y-coordinates. The default is NULL.

Value

List containing the following components:

extent

the sample extent for each grid cell

prop

the sample proportion for each grid cell

Author(s)

Tom Kincaid Kincaid.Tom@epa.gov


mhweber/spsurvey documentation built on Sept. 17, 2020, 4:24 a.m.