Description Usage Arguments Details Value Note Author(s) Examples
Extract LRS or p-values from coxph object
1 2 3 4 5 | lrt.coxph(x, digits = options()$digits, ...)
lrt_pvalue.coxph(x, digits = options()$digits, ...)
coef_pvalue.coxph(x, digits = options()$digits, ...)
|
x |
a coxph object |
digits |
the number of digits to print |
... |
currently unused |
lrt.coxph
: Extract the log ratio test statistic
from the overall Cox Proportional-hazards model fit.
lrt_pvalue.coxph
: Extract the log ratio test
Pvalue from the overall Cox Proportional-hazards model
fit.
coef_pvalue.coxph
: Extract the pvalue from each
coefficient in x
lrt.coxph
: numeric(1), the Likelihood ratio test
statistic
lrt_pvalue.coxph
: numeric(1), the p-value from the
Likelihood ratio test statistic
coef_pvalue.coxph
: numeric: the p-value from each
coefficient in the coxph object
Code derived from the survival:::print.coxph
method
Mark Cowley, 2011-09-02
Mark Cowley, 2011-09-02
1 2 3 4 5 6 7 8 9 | # lrt.coxph
## Not run:
cph.res <- coxph(Surv(...) ~ a)
lrt.coxph(cph.res)
lrt_pvalue.coxph(cph.res)
# [1] 0.0197
coef_pvalue.coxph(cph.res)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.