hrCI_format: Format Hazard Ratio and Confidence Interval

View source: R/summary_utility_functions.R

hrCI_formatR Documentation

Format Hazard Ratio and Confidence Interval

Description

Formats a hazard ratio and confidence interval for display.

Usage

hrCI_format(hrest)

Arguments

hrest

Numeric vector with HR, lower, and upper confidence limits.

Value

Character string formatted as \"HR (lower, upper)\".

Examples

hrCI_format(c(1.45, 0.98, 2.14))

forestsearch documentation built on Nov. 15, 2026, 9:06 a.m.