| summary.marCoxph | R Documentation |
Summary Method for marCoxph Objects
## S3 method for class 'marCoxph'
summary(object, conf_level = 0.95, round.digits = 4, style = "prints", ...)
object |
A |
conf_level |
Confidence level for intervals. Default 0.95. |
round.digits |
Number of digits for rounding displayed values. Default 4.
Only used if |
style |
Output style: "prints" (print formatted tables) or "returns" (return vectors). Default "prints". |
... |
Additional arguments (ignored). |
Confidence intervals are Wald-type intervals calculated as:
Log scale: logHR ± z_crit * SE
Original scale: exp(logHR ± z_crit * SE)
The SE used depends on variance_method from the original marCoxph call:
"robust": Uses logHR_se_robust from sandwich estimator.
"bootstrap-full" or "bootstrap-strata": Uses logHR_se_bootstrap.
If style = "prints", returns invisibly. If style = "returns",
returns a list with:
logHR |
Named vector of log hazard ratio estimates. |
logHR_CI_lower |
Named vector of lower CI bounds on log scale. |
logHR_CI_upper |
Named vector of upper CI bounds on log scale. |
SE |
Named vector of standard errors on log scale (from variance_method). |
HR |
Named vector of hazard ratio estimates (original scale). |
HR_CI_lower |
Named vector of lower CI bounds on original scale. |
HR_CI_upper |
Named vector of upper CI bounds on original scale. |
variance_method |
Variance method used. |
conf_level |
Confidence level used. |
n_per_group |
Named vector of sample sizes per group in Cox model. |
events_per_group |
Named vector of event counts per group in Cox model. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.