Describe events and censoring patterns of an event history.
# S3 method for class 'Hist'
summary(object, verbose = TRUE, ...)
An object with class `Hist' derived with Hist
Logical. If FALSE any printing is supressed.
Not used
NULL
for survival and competing risk models. For other
multi-state models, it is a list with the following entries:
the states of the model
the transitions between the states
a data.frame with the from and to states of the transitions
icensFrame <- data.frame(L=c(1,1,3,4,6),R=c(2,NA,3,6,9),event=c(1,1,1,2,2))
with(icensFrame,summary(Hist(time=list(L,R))))
#> Warning: Argument event is missing:
#> assume observations of a survival model
#> and only one event per subject
#>
#> Interval-censored response of a survival model
#>
#> No.Observations: 5
#>
#> Pattern:
#> Freq
#> exact.time 1
#> interval-censored 3
#> right-censored 1