CensorType: Determine types of censoring based on censoring intervals

Description Usage Arguments Value Author(s) Examples

Description

This function determines types of censoring based on censoring intervals. It is called by function gLRT1, gLRT2, gLRT3, and gLRT4.

Usage

1

Arguments

A

a matrix containing the end points of censoring intervals in the first two columns

inf

value representing infinity

Value

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

Author(s)

Qiang Zhao and Jianguo Sun

Examples

1
2
A = matrix(c(1, 3, 0, 4, 3, 100, 3, 3), ncol=2, byrow=TRUE)
CensorType(A, 100)


Search within the glrt package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.