' Salatiel Clemente
2018-10-26 19:38:17 UTC
Hello
I measured 11 morphological variables of 214 ant species in 12 plots. I'm
using the BAT package (Beta diversity (Taxon, Phylogenetic or Functional
Diversity - TD, PD, FD), to evaluate partitioning of functional beta
diversity.
I made two matrices, with the ant species: ncol: 214 and nrows: 12 and the
matrix with the morphological measures: ncol: 11 and nrows: 234. I followed
the example available in the package, but I did not obtain any results.
I elaborated as follows:
*sp<-read.table("betatax.txt",h=T)funct<-read.table("funcional.txt",
h=T)beta(sp)beta(sp, func = "Soerensen")beta(sp, funct)beta(sp, raref =
1)beta(sp, funct, abund = TRUE, "s", raref = 2)*
####################################################
F*ollows the example package:*
comm <- matrix(c(2,2,0,0,0,1,1,0,0,0,0,2,2,0,0,0,0,0,2,2), nrow = 4, ncol =
5, byrow = TRUE)
tree <- hclust(dist(c(1:5), method="euclidean"), method="average")
beta(comm)
beta(comm, func = "Soerensen")
beta(comm, tree)
beta(comm, raref = 1)
beta(comm, tree, abund = TRUE, "s", raref = 2)
[[alternative HTML version deleted]]
_______________________________________________
R-sig-phylo mailing list - R-sig-***@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-***@r-project.org/
I measured 11 morphological variables of 214 ant species in 12 plots. I'm
using the BAT package (Beta diversity (Taxon, Phylogenetic or Functional
Diversity - TD, PD, FD), to evaluate partitioning of functional beta
diversity.
I made two matrices, with the ant species: ncol: 214 and nrows: 12 and the
matrix with the morphological measures: ncol: 11 and nrows: 234. I followed
the example available in the package, but I did not obtain any results.
I elaborated as follows:
*sp<-read.table("betatax.txt",h=T)funct<-read.table("funcional.txt",
h=T)beta(sp)beta(sp, func = "Soerensen")beta(sp, funct)beta(sp, raref =
1)beta(sp, funct, abund = TRUE, "s", raref = 2)*
####################################################
F*ollows the example package:*
comm <- matrix(c(2,2,0,0,0,1,1,0,0,0,0,2,2,0,0,0,0,0,2,2), nrow = 4, ncol =
5, byrow = TRUE)
tree <- hclust(dist(c(1:5), method="euclidean"), method="average")
beta(comm)
beta(comm, func = "Soerensen")
beta(comm, tree)
beta(comm, raref = 1)
beta(comm, tree, abund = TRUE, "s", raref = 2)
[[alternative HTML version deleted]]
_______________________________________________
R-sig-phylo mailing list - R-sig-***@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-***@r-project.org/