powered by
Convert p-values to standard significance symbols
p_to_symbol( p_values, symbols = c("***", "**", "*", "ns"), breaks = c(0, 0.001, 0.01, 0.05, 1) )
Character vector of significance symbols
Numeric vector of p-values
Character vector of symbols for different significance levels. Default: c("***", "**", "*", "ns")
Numeric vector of p-value thresholds. Default: c(0, 0.001, 0.01, 0.05, 1)
p_to_symbol(c(0.0001, 0.005, 0.03, 0.15)) # Returns: "***" "**" "*" "ns"
Run the code above in your browser using DataLab