Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Macmat

A function to compute the incidence matrix for an intersection graph.


Description

Returns the Petrie matrix and Petrie pairs of an interval order given its list of maximal antichains. These can be obtained from Maclist.

Usage

Macmat(ml)

Arguments

ml

A list containing the maximal cliques of the intersection graph of the data.

Details

Not worth mentioning?

Value

A list containing two components.

pmat

The Petrie or clique matrix of the underlying interval order.

ppairs

The Petrie pairs for each observation. These indicate the first and last maximal clique occupied by the observation.

Author(s)

Alain Vandal and Robert Gentleman

References

Computational Methods for Censored Data using Intersection Graphs, R. Gentleman and A. Vandal, JCGS, 2000.

See Also

Examples

data(cosmesis)
   csub1 <- subset(cosmesis, subset=Trt==0, select=c(L,R))
   ml1 <- Maclist(csub1)
   mm1 <- Macmat(ml1)

Icens

NPMLE for Censored and Truncated Data

v1.62.0
Artistic-2.0
Authors
R. Gentleman and Alain Vandal
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.