irslin {spsurvey}R Documentation

Select an Independent Random Sample (IRS) of a Linear Resource

Description

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

Usage

irslin(shapefilename=NULL, linframe, samplesize=100, SiteBegin=1)

Arguments

shapefilename name of the input shapefile. If shapefilename equals NULL, then the shapefile or shapefiles in the currrent directory are used. The default is NULL.
linframe a data frame containing id, 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.

Author(s)

Tom Kincaid Kincaid.Tom@epa.gov

See Also

irs


[Package spsurvey version 1.6 Index]