cmat.Rd
Computes pairwise BCI values via qBCI.
cmat(x, sort = TRUE, crit = BCI, k = 5, iter = 20, p = NULL, jitter = TRUE, freqvar = NULL, diag = NULL, fun = "BCC", foreign = NULL)
x | A |
---|---|
sort | Whether or not to sort the pairwise tables via optile. |
crit | The criterion function, e.g. |
k | The minimum expected number for each cell after quantile binning. See also qBCI. |
iter | An optile parameter. |
p | The quantile distance. See qBCI. |
jitter | Whether or not to use jittering in order to avoid ties. This is equivalent to a random assignment of ranks to observations with the same value. |
freqvar | Optional weights, e.g. a frequency variable. |
diag | An optional value for the diagonal. Avoids unnecessary function calls for the diagonal elements. E.g. |
fun | See optile. |
foreign | See optile. |
Uses pairwise complete cases only!
A symmetric matrix.
# NOT RUN { m1 <- cmat(olives) fluctile(1 - m1,shape="o") # }