cmat(x, sort = TRUE, crit = BCI, k = 5, iter = 20, p = NULL, freqvar = NULL, diag = NULL)
Arguments
x
A data.frame with factor variables or numeric variables which will be transformed to ordinal interval variables via cut.
The breakpoints are quantiles of the variables such that for each pair o
sort
Whether or not to sort the pairwise tables via optile.
crit
The criterion function, e.g. kendalls, BCI, WBCI or wdcor.
k
The minimum expected number for each cell after quantile binning. See also qBCI.
An optional value for the diagonal. Avoids unnecessary function calls for the diagonal elements. E.g. diag = 0 for crit = BCI or diag = 1 for crit = kendalls makes sense.