Learn R Programming

repmod (version 0.4.11)

report.coxph: Report from cox regression model

Description

Creates a report table from a cox model.

Usage

# S3 method for coxph
report(
  x,
  file = NULL,
  type = "word",
  digits = 3,
  digitspvals = 3,
  info = TRUE,
  print = TRUE,
  exclude = NULL,
  ...
)

Value

A data frame with the report table

Arguments

x

A cox model object

file

Name of the file to export the table

type

Format of the file

digits

Number of decimals

digitspvals

Number of decimals for p-values

info

If TRUE, include call in the exported table

print

Should the report table be printed on screen?

exclude

Vector with rownames to remove from output

...

Further arguments passed to make_table