BVclmat: Compute the clique matrix from the clique list.

View source: R/censored.R

BVclmatR Documentation

Compute the clique matrix from the clique list.

Description

Given the clique list, obtained from BVcliques, the clique matrix is obtained. This is the m (number of cliques) by n (number of observations) matrix. A[i,j] is one if individual j is in maximal clique i.

Usage

BVclmat(cliques)

Arguments

cliques

The clique list.

Value

The m by n clique matrix.

Author(s)

A. Vandal and R. Gentleman

References

Graph–Theoretical Aspects of Bivariate Censored Data, R. Gentleman and A. Vandal, 1999, submitted.

See Also

BVcliques, BVsupport

Examples

   data(cmv)
   bcl <- BVcliques(cmv[,1:2], cmv[,3:4])
   A <- BVclmat(bcl)

Bioconductor/Icens documentation built on Nov. 2, 2024, 7:19 a.m.