selectpts: Internal Function: Select Probability Sample from a Set of...

Description Usage Arguments Value Author(s)

View source: R/selectpts.R

Description

Selects a sample of size one or larger from a set of cells based on inclusion probabilities.

Usage

1
selectpts(rdx, xc, yc, dx, dy, pts)

Arguments

rdx

Vector of the index value for selected cells.

xc

Vector of x-coordinates that define the cells.

yc

Vector of 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 id values, x-coordinates, y-coordinates, and mdm values.

Value

The id value for the sample points.

Author(s)

Tom Kincaid Kincaid.Tom@epa.gov Tony Olsen olsen.tony@epa.gov


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