pss.r | R Documentation |
PSS index for the taxa or sites/communities in the rows of an interaction matrix or community data matrix (CDM). This is a standardized effect size of klMPD.
pss.r(samp, phyl, q, runs = 999)
samp |
Required. A matrix or dataframe with focal taxa (interaction networks) or sites/communities (CDM) as rows, and partner taxa as columns. Elements of the matrix are interaction frequencies (for interaction matrices), or site-specific species abundances (CDM) |
phyl |
Required. An object of class phylo. This is a phylogenetic tree that includes all the taxa in the columns of samp. This tree may have taxa not included in samp. |
q |
Optional. A named numerical vector with the relative availabilities (i.e., sum(q) = 1) of the taxa in the columns of samp. Default is to estimate these values from interaction frequencies or relative species abundances summed across the matrix. |
runs |
Optional. The number of randomizations to estimate the null distribution of klMPD values used to calculate the SES. Default is 999 runs. |
A dataframe with results for each species or site/community in the rows of samp.
Carlos J. Pardo De la Hoz
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.