View source: R/fcts packages.R
pop_clust | R Documentation |
Combine individual-level clustering of movement metrics into a population-level clustering (second step). Users can the maximum number of clusters. See also mclust
pop_clust(traj, ls, max.n.clust = 8)
traj |
The trajectory object |
max.n.clust |
The maximum number of clusters to test, see the documentation for mclust for more information. Default = 8. |
ls_ind |
Individual-level clustering object, the output of ind_clust. |
A list object with each element representing an individual.
data(albatross)
grid<-loop(albatross, 35000)
table_grid<-table_cluster(albatross, grid)
ls_ind<-ind_clust(table_grid, max.n.clust=8)
pop<-pop_clust(albatross, ls_ind)
pop[[1]]$parameters$mean
pop[[1]]$parameters$pro
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.