tempbetagrid: tempbetagrid: Calculates Temporal Beta Grid Using Species' Occurrences
Description
Uses two occurrence matrices (from different time periods) to calculate temporal beta diversity for each site or grid cell.
Usage
tempbetagrid(oc1, oc2, index = "sorensen", phylotree, phylobeta = F)
Value
A data frame with values of turnover, nestedness, beta diversity, and turnover/beta for each site or grid cell.
Arguments
- oc1
Community data matrix (species occurrence on each grid cell).
- oc2
Second community data matrix (species occurrence on each grid cell) for another time period.
- index
Calculate "sorensen" or "jaccard". Default is "sorensen".
- phylotree
Optional phylogenetic tree ("phylo" class). It can also be a functional dendrogram.
- phylobeta
Optional boolean indicating whether or not to calculate phylogenetic beta diversity (see "phylo.beta.pair" function in "betapart" package) instead of the usual beta diversity (see "beta.pair" function in "betapart" package). Default is F.
Examples
Run this code# https://rfunctions.blogspot.com/2016/10/calculating-temporal-beta-diversity-on.html
Run the code above in your browser using DataLab