Learn R Programming

spsurvey (version 4.1.4)

cell.wt: Last Revised: September 24, 2018

Description

Total Inclusion Probablity for Matrix of Cells

Usage

cell.wt(cel, xc, yc, dx, dy, pts)

Arguments

cel

= the index value for a cell.

xc

= x-coordinates that define the cells.

yc

= y-coordinates that define the cells.

dx

= width of the cells along the x-axis.

dy

= width of the cells along the y-axis.

pts

= an `sf` data frame containing x-coordinates and y-coordinates in the geometry list-column, and mdm values.

Value

The total inclusion probability for a cell.

Details

Calculates the total inclusion probability for a cell. Used to evaluate spatial balance of a survey design realization.