Learn R Programming

icpack (version 0.1.0)

summary.icfit: Summary method for an object of class `icfit`

Description

Summary method for an object of class `icfit`

Usage

# S3 method for icfit
summary(
  object,
  lvl = 1,
  digits = max(1L, getOption("digits") - 3L),
  alpha = 0.05,
  ...
)

Value

None (invisible NULL)

Arguments

object

Object of class 'icfit'

lvl

Describes the level of output

digits

Number of digits to be printed

alpha

Alpha level to be used of confidence interval ((1-alpha) * 100 percent)

...

Other arguments to summary

Examples

Run this code
# \donttest{
icf <- icfit(Surv(left, right, type='interval2') ~ period + gender + age, data=drugusers)
summary(icf)
summary(icf, lvl=0) # same as print(icf)
summary(icf, lvl=1) # extra information on iterations and computation time
# }

Run the code above in your browser using DataLab