Learn R Programming

ggpicrust2 (version 2.5.10)

format_pvalue_smart: Smart P-value Formatting

Description

Smart P-value Formatting

Usage

format_pvalue_smart(
  p_values,
  format = "smart",
  stars = TRUE,
  thresholds = c(0.001, 0.01, 0.05),
  star_symbols = c("***", "**", "*")
)

Value

Character vector of formatted p-values

Arguments

p_values

Numeric vector of p-values

format

Character string specifying format type

stars

Logical, whether to include star symbols

thresholds

Numeric vector of significance thresholds

star_symbols

Character vector of star symbols