Description Usage Arguments Value Author(s) References Examples
This function computes barycenters and their RGB colours for cases belonging to the same group from an original RGB colour matrix obtained by recluster.col.
1 | recluster.group.col(mat,member)
|
mat |
An inherited matrix from recluster.col containing the original RGB colour space. |
member |
A vector indicating group membership for each case. |
aggr |
A matrix in the recluster.col format with mean values for coordinates and RGB colours for groups. |
all |
A matrix in the recluster.col format reporting mean RGB colours of the group of each original case. |
Leonardo Dapporto and Matteo Ramazzotti
Kreft H., Jetz, W. "A framework for delineating biogeographic regions based on species distributions" J Biogeogr (2010),37: 2029-2053.
Dapporto, L., Fattorini, S., Voda, R., Dinca, V., Vila, R. "Biogeography of western Mediterranean butterflies: combining turnover and nestedness components of faunal dissimilarity." J Biogeogr (2014), 41: 1639-1650.
1 2 3 4 5 6 7 | data(datamod)
sordiss<- recluster.dist(datamod,dist="sorensen")
points<-cmdscale(sordiss)
col<-recluster.col(points)
group<-c(1,2,3,3,3,1,2,1,2)
ncol<-recluster.group.col(col,group)
recluster.plot.col(ncol$aggr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.