Description Usage Arguments Examples
This function clusters individuals into groups based on their locations and some mean group size.
1 2 3 4 5 6 7 8 9 10 |
data |
list of simulation data generated by swap or UD method |
id |
individual identifier field |
time |
time step variable |
group_size |
average group size in results |
group_vector |
vector of group sizes per time step |
method |
grouping method, either kmeans or hierarchical clustering |
xcoords |
x coordinates |
ycoords |
y coordinates |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.