Returns all censoring levels for an object. From smwrQW package.
Usage
censorLevels(x, type = "left")
# S3 method for default
censorLevels(x, type = "left")
# S3 method for lcens
censorLevels(x, type = "left")
# S3 method for mcens
censorLevels(x, type = "left")
# S3 method for qw
censorLevels(x, type = "left")
Arguments
x
the object to get the levels of censoring.
type
a character string indicating the type of censoring levels, must
be either "left" or "right."
Value
A numeric vector of the sorted censoring levels. If all data are
uncensored, then -Inf is returned for type = "left" and Inf is
returned for type = "right."