intersectionMatrix | R Documentation |
Intersection matrix
intersectionMatrix(object, ...)
## S4 method for signature 'DFrame'
intersectionMatrix(object)
## S4 method for signature 'data.frame'
intersectionMatrix(object)
## S4 method for signature 'list'
intersectionMatrix(object)
## S4 method for signature 'matrix'
intersectionMatrix(object)
object |
Object. |
... |
Additional arguments. |
matrix
.
Updated 2021-08-13.
object <- list(
"aaa" = c("a", "b", "c", "d", "e", "f"),
"bbb" = c("b", "c", "d", "e", "f", "g"),
"ccc" = c("c", "d", "e", "f", "g", "h")
)
mat <- intersectionMatrix(object)
rowSums(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.