fisher.test.pval: Calculate the significance of the association between two...

Description Usage Arguments Value

Description

Calculate the significance of the odds ratio between two vectors

Usage

1

Arguments

dataset

Two column data.frame, with presence/absence of two species

Value

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.


mjwestgate/sppairs documentation built on May 23, 2019, 1:05 a.m.