Description Usage Arguments Details Value References Examples

Take a `Surv`

object and transforms it into a data matrix with two columns, L and R,
representing the left and right points of observed time intervals. For right-censored data, R = NA.

1 | ```
SurvtoLR(x)
``` |

`x` |
a |

The input Surv object should be in the form of `Surv(L,R,type='interval2')`

, where R = NA for right-censored data.

A data matrix with two variables:

`L` |
left-points of observed time intervals |

`R` |
right-points of observed time intervals |

Michael P. Fay, Pamela A. Shaw (2010). Exact and Asymptotic Weighted Logrank Tests for Interval Censored Data: The interval R Package.
*Journal of Statistical Software*, **36** 1-34.

1 2 3 4 5 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.