View source: R/pss_functions.R
pss.rc | R Documentation |
PSS for the rows and columns of an interaction matrix. PSS is a standardized effect size (SES) of klMPD.
pss.rc(samp, phyl.rows, phyl.cols, q.rows, q.cols)
samp |
Required. A matrix. Elements of the matrix are interaction frequencies. |
phyl.rows |
Required. An object of class phylo. This is a phylogenetic tree that includes all the taxa in the rows of samp. This tree may have taxa not included in samp. |
phyl.cols |
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.rows |
Optional. A named numerical vector with the relative availabilities (i.e., sum(q) = 1) of the taxa in the rows of samp. Default is to estimate these values from interaction frequencies. |
q.cols |
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. |
A list with two dataframes (rows and columns) with results for each species in 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.