Description Usage Arguments Value
View source: R/create_experiments.R
Rotate either connected or disconnected experiment by given angle
1 | rotate_experiment(original_experiment, rotation_angle, experiment_type)
|
original_experiment |
sf; an sf object containing the polygons for each
plot and/or blocks. The rotation will occur around the centroid of |
experiment_type |
string; which experiment type should be created? Current options are "connected", which creates as single traditional experiment and expects the user to select only one centroid, or "disconnected" which expects the user to select the centroid of each block independently. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.