stat_phi {baizer} | R Documentation |
calculate phi coefficient of two binary variables
Description
calculate phi coefficient of two binary variables
Usage
stat_phi(x)
Arguments
x |
2x2 matrix or dataframe |
Value
phi coefficient
Examples
data <- matrix(c(10, 8, 14, 18), nrow = 2)
stat_phi(data)
[Package baizer version 0.8.0 Index]