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

Description Usage Arguments Value Author(s) See Also

View source: R/survival.r

Description

Based on summary.coxph.

Usage

1
2
3
## S3 method for class 'coxph'
pvalue(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.

Author(s)

Christofer B<c3><a4>cklin

See Also

pvalue


emil documentation built on July 6, 2017, 9:01 a.m.

Related to pvalue.coxph in emil...