ttmatrixPartition {dst} | R Documentation |
Create partition matrix
Description
Create partition matrix
Usage
ttmatrixPartition(n, m)
Arguments
n |
partition size |
m |
size of the set to be partitioned |
Value
h binary partition matrix of size n by m
Author(s)
Peiyuan Zhu
Examples
# 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)
[Package dst version 1.7.0 Index]