Description Usage Arguments Details Value Examples
Construct a contingency table showing all observed pairs between different states of variables.
1 |
data |
A |
vars |
Optional |
p |
A |
... |
Additional options passed to |
For each variable in vars,
ql_matrixfirst splits the data for each observed state and then calculates the percentile given by
pfor each of the remaining variables. So yes, this is not a contingency table. Instead, the default value of
p'
is such that we're almost calulating the minimum value observed
for all variables for each state of a target variable. What
does this tell us? I have no idea.
A S3
matrix
of class ql_mat
.
1 2 | x <- data.frame(a = c(0, 1), b = c(1, 1))
ql_matrix(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.