censoring | R Documentation |
Returns the type of censoring ("none," "left," "multiple") for an object.
censoring(x) ## Default S3 method: censoring(x) ## S3 method for class 'lcens' censoring(x) ## S3 method for class 'mcens' censoring(x) ## S3 method for class 'qw' censoring(x)
x |
the object to get the type of censoring. |
A character string "none," "left," or "multiple" describing the type of censoring present in the object.
This function is mostly used within other functions to determine the 'best' technique to use for analysis.
censorLevels
censoring(2.3) # a simple number censoring(as.lcens(1, 2)) # left-censored
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.