Description Usage Arguments Value
View source: R/create_experiments.R
Create polygons of a block with plots
1 2 3 4 5 6 7 8 | get_block_polygons(
treatment_number,
plot_length,
plot_width,
border_width,
crs,
origin
)
|
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. |
origin |
numeric vector; **optional** a named vector of the xy point
of the bottom left (south west) corner of the block. Must have the names
|
centroid |
numeric vector; **optional** a named vector of the xy point
of the desired block centroid. Must have the names |
A list of sf polygons with plot ids (1:treatment_number).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.