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

Maclist

A function to


Description

Returns a list of maximal cliques of the intersection graph of the real valued intervals supplied in m. These are one dimensional intervals with one interval for each individual. The algorithm is coded in interpreted code and should be moved to compiled code for speed. How do we handle exact failure times? Which algorithm is used?

Usage

Maclist(intvls, Lopen=TRUE, Ropen=FALSE)

Arguments

intvls

A n by 2 matrix, the first column is the left endpoints and the second column contains the right endpoints of the failure time intervals.

Lopen

A boolean indicating whether the intervals are open on the left.

Ropen

A boolean indicating whether the intervals are open on the right.

Value

A list of length m. Each element of the list corresponds to one maximal antichain. The row numbers (from m) identify the individuals and all row numbers for the individuals in the maximal clique. Maximal cliques occur in their natural (left to right) order.

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)

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.