GetSampleProp: Sample lines in a windfarm area

View source: R/GetSampleProp.R

GetSamplePropR Documentation

Sample lines in a windfarm area

Description

A function to sample n number of lines from a full set of polylines and get the proportion of those lines that intersect the windfarm.

Usage

GetSampleProp(maskedlines, samplesize, WFarea)

Arguments

maskedlines

An sf object. The full set of lines sampled within the migration corridor for a species

samplesize

An integer. The number of lines to sample from the full set of lines

WFarea

An sf object. The polygon of the wind farm area of interest

Value

a numeric value representing the proportion of lines that overlap the specific wind farm area


HiDef-Aerial-Surveying/mCRM documentation built on Dec. 24, 2024, 3:03 p.m.