get_plot_boundary: Create a matrix of the points defining a single plot polygon

Description Usage Arguments Value

View source: R/create_experiments.R

Description

Create a matrix of the points defining a single plot polygon

Usage

1
get_plot_boundary(plot_length, plot_width, x0, y0)

Arguments

plot_length

numeric; desired plot length in meters.

plot_width

numeric; desired plot width in meters.

x0

numeric; the x value of the bottom left (south west) corner of the plot.

y0

numeric; the y value of the bottom left (south west) corner of the plot.

Value

A matrix of the five points describing the polygon of a singe plot. There are five points because polygons must be closed with the first and last value repeated.


smmueller/plotdesignr documentation built on Jan. 5, 2022, 10:55 a.m.