mcens-class: Mutliply-censored Data

mcens-classR Documentation

Mutliply-censored Data

Description

Class "mcens" describes right- or multiply-censored data.

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.

Note

Note that censor.codes and interval are not necessary, but included to make some manipulations easier.

References

Lorenz, D.L., in preparation

Examples


showClass("mcens")


USGS-R/smwrQW documentation built on Oct. 11, 2022, 6:13 a.m.