ttmatrixPartition {dst} | R Documentation |
Create partition matrix
ttmatrixPartition(n, m)
n |
partition size |
m |
size of the set to be partitioned |
h binary partition matrix of size n by m
Peiyuan Zhu
# test singleton hypotheses
x <- bca(tt = matrix(c(1,1,0,1,1,1), nrow = 2, byrow = TRUE), m = c(0.8, 0.2), cnames = c(1,2,3))
pa <- ttmatrixPartition(x$infovar[2], x$infovar[2])
belplau(x, h=pa)