commonality {dst} | R Documentation |
Compute qq from tt
Description
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.
Usage
commonality(tt, m)
Arguments
tt |
Mass assignment set matrix |
m |
Mass assignment |
Value
f Commonality function
Author(s)
Peiyuan Zhu
Examples
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))
[Package dst version 1.7.0 Index]