Description Usage Arguments Value
This function takes simple features points and polygon file. It reassigns the points file to the intervention and id number of the cluster.
1 |
points |
simple feature points locations of data |
poly |
simple feature polygons of cluster boundaries |
distance |
distance of buffer for cluster in metres |
trt |
names of the intervention of treatment variable |
trt_value |
value of the treatment to to buffer for |
id |
name of id variable |
spatial points file with new ids and treatment variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.