agree_C | R Documentation |
agree_C_sparse
uses sparse matrices.
agree_C(mat_A, mat_B)
agree_C_sparse(mat_A, mat_B)
mat_A |
a |
mat_B |
a |
mat1 <- matrix(round(rnorm(n=1000, sd=1.2)), ncol=10, nrow=100)
mat2 <- rbind(mat1[1:10, ],
matrix(round(rnorm(n=900, sd=1.2)), ncol=10, nrow=90)
)
rownames(mat1) <- paste0("A", 1:nrow(mat1))
rownames(mat1) <- paste0("B", 1:nrow(mat1))
mat1 <- 1*(mat1>1)
mat2 <- 1*(mat2>1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.