Description Usage Arguments Value Examples

This function builds boxes based on corner vectors given by x and y.

1 | ```
buildBoxes(x, y = NULL)
``` |

`x` |
A vector of x values representing the corners of boxes along the X-axis. If the x and y-values are identical, only include the first corner vector, and the function will use it for the y-values as well. |

`y` |
A vector of y values representing the corners of boxes along the Y-axis. See above for more detail about symmetrical plots. |

The parameters should be generated by getSubplotCoords, or you can enter them manually. This function returns a data.frame listing (x,y) of the corners of each subplot, arbitrarily numbered. The columns are "POINT_X", "POINT_Y", and "Subplot", reflecting the standard format taken by TrapUTM.

1 2 | ```
xAndY <- getSubplotCoords()
head(buildBoxes(xAndY, xAndY))
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.