mcens-class | R Documentation |
Class "mcens" describes right- or multiply-censored data.
.Data
a 2-column matrix that contains the lower and upper value for the data. Missing values are permitted.
censor.codes
an integer vector that indicates censoring; -1 indicates
left-censored, 0 indicates uncensored, and 1 indicates rigth-censored.
Missing values are permitted only for elements of .Data
that are missing.
interval
a logical value; TRUE
indicates that the value is
interval censored and FALSE
indicates otherwise.
Missing values are permitted only for elements of .Data
that are missing.
names
a character vector of unique names for each element in .Data
.
Objects can be created by calls to
as.mcens
.
Note that censor.codes
and interval
are not necessary, but
included to make some manipulations easier.
Lorenz, D.L., in preparation
showClass("mcens")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.