Learn R Programming

spsurvey (version 4.0.0)

cell.wt: Total Inclusion Probablity for a Cell in a Matrix

Description

Calculates the total inclusion probability for a cell from a finite population suvey design.

Usage

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

Arguments

cel

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

Data frame containing x-coordinates, y-coordinates, and mdm (inclusion probability) values.

Value

The total inclusion probability for the cell.