fisher.pairwise | R Documentation |
Performs fisher test on cols of matrix / df x vs cols of matrix / df y
returns list with ncol(x) by ncol(y) matrices $p and $or denoting the p value and odds ratio of the result of the fisher test on col i of x and col j of y
If y is not provided, will correlate rows of x with themselves.
fisher.pairwise(x, y = x)
x |
n x k1 data frame of categorical data on k1 variables |
y |
n x k2 optional data frame of categorical data on k2 variables (= x) |
list with field $p and $or correspodning to k1 x k2 matrices of p values and odds ratios for each pair of tests
Marcin Imielinski
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.