fisher.pairwise: fisher.pairwise

fisher.pairwiseR Documentation

fisher.pairwise

Description

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.

Usage

fisher.pairwise(x, y = x)

Arguments

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)

Value

list with field $p and $or correspodning to k1 x k2 matrices of p values and odds ratios for each pair of tests

Author(s)

Marcin Imielinski


mskilab/skitools documentation built on Aug. 31, 2023, 1:13 p.m.