| .gk_gamma_from_tab | R Documentation |
Shared engine for gk_gamma() and gk_gamma_vec().
Uses cumulative suffix sums and prefix column sums for
O(nr \times nc) concordant/discordant pair counting.
.gk_gamma_from_tab(tab, nr, nc)
tab |
Integer or numeric matrix (contingency table). |
nr |
Number of rows. |
nc |
Number of columns. |
A scalar: the gamma coefficient, or NA_real_.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.