Describe events and censoring patterns of an event history.

# S3 method for class 'Hist'
summary(object, verbose = TRUE, ...)

Arguments

object

An object with class `Hist' derived with Hist

verbose

Logical. If FALSE any printing is supressed.

...

Not used

Value

NULL for survival and competing risk models. For other multi-state models, it is a list with the following entries:

states

the states of the model

transitions

the transitions between the states

trans.frame

a data.frame with the from and to states of the transitions

See also

Author

Thomas A. Gerds tag@biostat.ku.dk

Examples


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