Pre-defined format specifications for common clinical table patterns.
Usage
fmt_n_pct()
fmt_mean_sd()
fmt_median_range()
fmt_ci()
Functions
fmt_n_pct(): Count with percentage: "n (xx.x%)"
fmt_mean_sd(): Mean with SD: "xx.x (xx.xx)"
fmt_median_range(): Median with range: "xx.x (xx.x, xx.x)"
fmt_ci(): Confidence interval: "xx.xx (xx.xx, xx.xx)"