Learn R Programming

emil (version 1.1-6)

p.value.coxph: Extract p-value from a Cox proportional hazards model

Description

Based on summary.coxph.

Usage

## S3 method for class 'coxph':
p.value(x, log.p = FALSE, test = c("logrank", "wald",
  "likelihood"), ...)

Arguments

x
Fitted coxph model.
log.p
Whether to return the logarithm of the p-value.
test
What test to calculate. "likelihood" is short for means likelihood ratio test.
...
Ignored. Kept for S3 consistency.

Value

  • p-value.

See Also

p.value