ttmatrixPartition: Create partition matrix

View source: R/ttmatrixPartition.R

ttmatrixPartitionR 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)

RAPLER/dst-1 documentation built on Oct. 15, 2024, 9:24 p.m.