encloseVarBoundaries: Enclose polygon boundary for each unique variable input

View source: R/encloseVarBoundaries.R

encloseVarBoundariesR Documentation

Enclose polygon boundary for each unique variable input

Description

This function computes a polygon boundary that encloses each unique variable (i.e. testNoRep or block). Simply put, if you want a polygon boundary for each variable associated with a specific header name, this is the function to do it. You can use it to "block" each testNoRep. The output of this function is a SpatialPolygonsDataFrame. The names features of the SpatialPolygonsDataFrame are called "blocks".

Usage

  encloseVarBoundaries(fieldBookLLSPDF,variable)

Arguments

fieldBookLLSPDF

fieldBook Spatial Points Data Frame

variable

Variable with elements to enclose

Details

This function returns polygon boundaries enclosing unique variable input.

Value

SpatialPolygonsDataFrame with polygon boundaries enclosing unique variable input.

Examples

  ##Vignette at https://github.com/cb-agr/agriPlot

cb-agr/agriPlot documentation built on April 14, 2022, 1:01 p.m.