summary.predict.icfit {icpack}R Documentation

Summary method for an object of class 'predict.icfit'

Description

Summary method for an object of class 'predict.icfit'

Usage

## S3 method for class 'predict.icfit'
summary(object, times, ...)

Arguments

object

Object of class 'predict.icfit'

times

The time points at which to summarize the predicted hazards, cumulative hazards and survival probabilities, with associated standard errors and confidence intervals

...

Other arguments to plot

Value

A data frame (if object was a data frame) or a list of data frames (if object was a list of data frames) with hazards etc linearly interpolated between the time points used in the predict function

Examples


icf <- icfit(Surv(left, right, type='interval2') ~ period + gender + age,
      data=drugusers)
pred_icf <- predict(icf)
summary(pred_icf, times=c(0, 30, 183, 365))



[Package icpack version 0.1.0 Index]