Description Usage Arguments Details Value Examples
Assess symmetry of parasitic infections by performing exact binomial tests on pooled data and individual hosts.
1 | eb.test(x)
|
x |
a matrix or data frame with two numeric columns; first column is for left-side and 2nd column for right-side. Identifiers for hosts can be provided as row names. |
This function performs a binomial exact tests with the null hypothesis of a 1:1 ratio. It takes as its argument a matrix or data frame with two numeric columns; first column is for left-side and 2nd column for right-side. Identifiers for hosts can be provided as row names. Uninfected hosts (zero count for both left and right sides) are ignored.
It returns a list containing two elements:
pooled |
p-value for pooled binomial exact test (null hypothesis: the ratio of the total number of parasites from each side doesn't differ from 1:1). |
hosts |
data.frame of results of binomial exact tests performed on the distribution of parasites in each host. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.