baytrends (version 1.1.0)

mcens-class: Mutliply-censored Data

Description

Class "mcens" describes right- or multiply-censored data. From smwrQW package.

Arguments

Slots

.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 from the Class

Objects can be created by calls to as.mcens.

References

Lorenz, D.L., in preparation

Examples

Run this code
# NOT RUN {
showClass("mcens")

# }

Run the code above in your browser using DataCamp Workspace