Learn R Programming

spsurvey (version 4.1.4)

cellWeight: Total Inclusion Probablity for a Grid Cell

Description

Calculates the total inclusion probability for each grid cell from a GRTS survey design.

Usage

cellWeight(xc, yc, dx, dy, sfobject)

Arguments

xc

x-coordinates that define the cells.

yc

y-coordinates that define the cells.

dx

The x-axis grid cell dimension.

dy

The y-axis grid cell dimension.

sfobject

the sf object containing the survey frame.

Value

Vector containing the total inclusion probability for each cell.