# NOT RUN {
comm <- matrix(c(0,0,1,1,0,0,100,1,2,0), nrow = 2, ncol = 5, byrow = TRUE)
distance = dist(1:5)
rao.alpha(comm)
rao.alpha(comm, , distance)
rao.alpha(comm, hclust(distance), raref = 1)
# }
Run the code above in your browser using DataLab