commonality | R Documentation |
qq is the commonality function as a set function from the subsets of the frame to [0,1]
. To evaluate it, input a set encoded in binary vector, so the commonality number at that set can be returned.
commonality(tt, m, fzt = FALSE)
tt |
Mass assignment set matrix |
m |
Mass assignment |
fzt |
= FALSE Whether to use Fast Zeta Transform |
f Commonality function
Peiyuan Zhu
x <- bca(tt = matrix(c(0,1,1,1,1,0,1,1,1),nrow = 3, byrow = TRUE),
m = c(0.2,0.5, 0.3), cnames = c("a", "b", "c"), varnames = "x", idvar = 1)
qq <- commonality(x$tt,x$spec[,2])
qq(c(1,0,0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.