Learn R Programming

dst (version 1.8.0)

ttmatrixPartition: Create partition matrix

Description

Create partition matrix

Usage

ttmatrixPartition(n, m)

Value

h binary partition matrix of size n by m

Arguments

n

partition size

m

size of the set to be partitioned

Author

Peiyuan Zhu

Examples

Run this code
# 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)

Run the code above in your browser using DataLab