Description Usage Arguments Value
View source: R/create_experiments.R
Create polygons for simulation experiment
1 2 3 4 5 6 7 8 | get_experiment_polygons(
xy_coords,
treatment_number,
plot_length,
plot_width,
border_width,
crs
)
|
xy_coords |
matrix; A matrix with columns |
treatment_number |
integer; the number of treatments or plots that should be included in each block. |
plot_length |
numeric; desired plot length in meters. |
plot_width |
numeric; desired plot width in meters. |
border_width |
numeric; desired width between plots in meters. |
crs |
crs; coordinate referense system to be applied to new polygons. |
An sf object containing the polygons for each plot in an experiment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.