pa_adjust_obs_effective_area: Adjust the effective area of each observation based on...

View source: R/yield_monitor.R

pa_adjust_obs_effective_areaR Documentation

Adjust the effective area of each observation based on vehicular polygon overlap

Description

Adjust the effective area of each observation based on vehicular polygon overlap

Usage

pa_adjust_obs_effective_area(
  polygons,
  obs.vector,
  var.label = "yield",
  overlap.threshold = 0,
  cores = 1L,
  verbose = FALSE
)

Arguments

polygons

sf object containing vehicular polygons

obs.vector

a vector containing the observations

var.label

a string used to label the columns (e.g., yield)

overlap.threshold

a fraction threshold to remove observations. A value of 0 does not remove any observations. A value of 1 removes all observations that overlap even minimally with neighboring observations.

cores

the number of cores used in the operation

verbose

whether to print operation details

Details

This function will make use of the vehicular polygons to evaluate the overlap between polygons and adjust the variable in obs.vector to the effective area in the polygon. This is primarely intended for yield.

Value

an sf object


pacu documentation built on June 8, 2025, 10:44 a.m.