selectFeatureID: Identify a Feature in an sf Object for Selecting a Sample...

Description Usage Arguments Value Author(s)

View source: R/selectFeatureID.R

Description

This function determines the ID value of the feature in an sf object from which a sample point will be selected.

Usage

1
selectFeatureID(rdx, cellID, featureMeasure, featureID, mdm, id)

Arguments

rdx

Value of the randomized hierarchical address identifying a grid cell that will get a sample point.

cellID

Vector of grid cell IDs.

featureMeasure

Vector of grid cell sf feature lengths for linestring objects or sf feature areas for polygon objects.

featureID

Vector of grid cell sf feature IDs.

mdm

Vector of multidensity multipliers for the shapefile features.

id

Vector of sf feature IDs.

Value

The ID of an sf feature.

Author(s)

Tom Kincaid Kincaid.Tom@epa.gov


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