View source: R/yield_monitor.R
pa_adjust_obs_effective_area | R Documentation |
Adjust the effective area of each observation based on vehicular polygon overlap
pa_adjust_obs_effective_area(
polygons,
obs.vector,
var.label = "yield",
overlap.threshold = 0,
cores = 1L,
verbose = FALSE
)
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 |
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.
an sf object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.