Description Usage Arguments Value Author(s) Examples
This function determines types of censoring based on censoring intervals. It is called by function gLRT1
, gLRT2
, gLRT3
, and gLRT4
.
1 | CensorType(A, inf)
|
A |
a matrix containing the end points of censoring intervals in the first two columns |
inf |
value representing infinity |
cens |
a vector of censoring types with value 1 for left-censoring, 2 for interval-censoring, 3 for right-censoring, and 4 for exact observation |
Qiang Zhao and Jianguo Sun
1 2 | A = matrix(c(1, 3, 0, 4, 3, 100, 3, 3), ncol=2, byrow=TRUE)
CensorType(A, 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.