format_pval: Format p-values

View source: R/format_pval.R View source: R/format_confint.R

format_pvalR Documentation

Format p-values

Description

Format CI with 95

Format p-values: p-values <= 0.10 are printed with 3 digits, otherwise 2 digits

Usage

format_pval(x)

format_pval(x)

Arguments

x

Numeric variable

HR

Point estimate

HR_lower

Lower CI

HR_upper

Upper CI

Value

Formatted confidence interval as a string

P-value as string


th-zelniker/TIMI documentation built on Oct. 1, 2022, 2 p.m.