comm <- matrix(c(20,20,20,20,20,9,1,0,0,0,1,1,1,1,1), nrow = 3, ncol = 5, byrow = TRUE)
tree = hclust(dist(1:5))
hill(comm)
alpha(comm, tree)
mixture(comm, runs = 10)
mixture(comm, tree, replace = TRUE, runs = 10)
Run the code above in your browser using DataLab