AssignStrata: Assign strata ID to data for analysis using sf package

View source: R/AssignStrata.R

AssignStrataR Documentation

Assign strata ID to data for analysis using sf package

Description

AssignStrata will provide the strata layer associated with a point in a clean data set

Usage

AssignStrata(full.data, strata.file, strata.id, retain = "liberal", area)

Arguments

full.data

The data set of georeferenced observations

strata.file

The path to the analysis stratification layer

strata.id

The identifier of the stratification layer

area

The survey being processed

Details

AssignStrata will calculate the nearest polygon to observations in a data file and overwrite the Strata column in the data with the nearest polygon's strata.id

Value

data frame of observations with modified Strata column

Author(s)

Charles Frost, charles_frost@fws.gov

References

https://github.com/USFWS/AKaerial


USFWS/AKaerial documentation built on April 3, 2025, 4:06 p.m.