agriPlotDim: Calculate plot dimensions from fieldBookLL

View source: R/agriPlotDim.R

agriPlotDimR Documentation

Calculate plot dimensions from fieldBookLL

Description

Displaying a plot as one point has some shortcommings because it doesn't account for the entire dimensions of a plot. If this is of interest, users can compute a longitude and latitude for all four corners of a plot's dimensions using agriPlotDim. The output from agriPlotDim would represent the most accurate field boundary as it accounts for plot dimensions. It should be noted that the output of this function only contains the following headers: id, block, plotRowNum, plotColumnNum, plotRows, testNameRep, Longitude, Latitude.

Usage

  agriPlotDim(fieldBookLL,dims)

Arguments

fieldBookLL

fieldbook output from agriPlot with longitude and latitude for each plot

dims

plot dimension multiplier from 0 < 1. You can think of this as how much of the plot dimensions do you want to include. A value of 1 would be the entire plot dimensions. I might recommend using 0.8 to roughly account for the alley space of a plot.

Details

The function returns individual long/lat plot dimensions for each plot in a fieldBookLL

Value

Long/lat plot dimensions

Examples

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

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