Very simple wrapper for DescTools::Phi.

nom_phi(x, y = NULL)

Arguments

x

Dependent variable. Alternatively a table.

y

Independent variable

Value

numeric value

Examples

nom_phi(ngo$abschalt, ngo$geschl)
#> [1] 0.147442