Description Usage Arguments Value
Calculate the significance of the odds ratio between two vectors
1 | fisher.test.pval(dataset)
|
dataset |
Two column data.frame, with presence/absence of two species |
Returns a value derived from the significance of the odds ratio between two species. Note that this version is experimental and has some unusual properties that might be subject to change. At present, the function runs two tests, to determine whether the odds ratio is significantly greater or less than one. It then returns 1-P, multiplied by -1 for negative associations. This means the resulting vector of pairwise assocations can be easily drawn (as it ranges from -1 to 1, with extreme values signifying strong -ve or +ve effects); but it is not a sensible statistic to report in this format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.