cor.pearson.phi: Pearson's Phi Coefficient

View source: R/cor.pearson.phi.R

cor.pearson.phiR Documentation

Pearson's Phi Coefficient

Description

Calculate Pearson's Phi. If x is a 2x2 contingency table, Fisher's exact test is reported for significance. For any other dimension of contingency table, a chi square test is performed and reported.

Usage

cor.pearson.phi(x)

Arguments

x

Matrix - contingency table

Value

Hypothesis test result showing results of test.


burrm/lolcat documentation built on Sept. 15, 2023, 11:35 a.m.