Temporal beta diversity calculation for vector
temp.beta.vec(x, nspp, spp, tree, resu, ...)A vector with beta results (total, replacement, richness difference, and ratio).
A numeric vector with presence-absence data (0 or 1) for a set of species.
Numeric. Number of species.
Character. Species name.
It can be a data frame with species traits or a phylogenetic tree.
Numeric. A vector to store results.
Additional arguments to be passed passed down from a calling function.