Learn R Programming

spsurvey (version 3.1)

irspts: Select an Independent Random Sample (IRS) of a Finite Resource

Description

This function selects an independent random sample (IRS) of a finite resource.

Usage

irspts(ptsframe, samplesize=100, SiteBegin=1)

Arguments

ptsframe
a data frame containing id, x, y, mdcaty, and mdm.
samplesize
number of points to select in the sample. The default is 100.
SiteBegin
number to use for first site in the design. The default is 1.

Value

A data frame of IRS sample points containing: SiteID, id, x, y, mdcaty, and weight.

See Also

irs