Description Usage Arguments Value Note
View source: R/create_experiments.R
Merge experiment or block polygon and rotate by a give angle
1 | rotate_polygon(original_experiment, rotation_angle)
|
original_experiment |
sf; an sf object containing the polygons for each
plot and/or blocks. The rotation will occur around the centroid of |
rotaion_anlge |
integer; angle by which the original experiment should be rotated. |
The rotated sf object. Will have the same dimentions as original_experiment
but with the POLYGON geometries rotated.
Taken from https://stackoverflow.com/questions/51282724/creating-a-regular-polygon-grid-over-a-spatial-extent-rotated-by-a-given-angle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.