Macmat | R Documentation |
Returns the Petrie matrix and Petrie pairs of an interval order given its
list of maximal antichains. These can be obtained from
Maclist
.
Macmat(ml)
ml |
A list containing the maximal cliques of the intersection graph of the data. |
Not worth mentioning?
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. |
Alain Vandal and Robert Gentleman
Computational Methods for Censored Data using Intersection Graphs, R. Gentleman and A. Vandal, JCGS, 2000.
Maclist
data(cosmesis)
csub1 <- subset(cosmesis, subset=Trt==0, select=c(L,R))
ml1 <- Maclist(csub1)
mm1 <- Macmat(ml1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.