kappaSimp | R Documentation |
Calculate column-wise kappa statistics of a matrix, using a simple procedure by going through the matrix and counting
kappaSimp(matrix, minOverlap = 0)
matrix |
a binary matrix of either 0 or one |
minOverlap |
Numeric/integer, the minimal overlap between two columns to be considered for further calculation |
A matrix of size nxn if the input matrix is of size mxn (m is arbitrary)
colKappa
to calculate the same statistic using a linear algebra based routine
Other kappa functions:
colKappa()
,
rowKappa()
testMat <- cbind(c(1,1,0,0,1,0), c(1,1,0,1,1,0)) ribiosMath:::kappaSimp(testMat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.