R/e_pval_stars.R
e_pval_stars.Rd
Default text for caption: "p-value stars: (blank): not sig.; -: p > 0.10; *: p <= 0.05; **: p <= 0.01; ***: p <= 0.001; ****: p <= 0.0001"
list of p-values
list of p-value cutpoints, should include 0 and 1 at extremes
list of symbols with length one fewer than cutpoints to indicate which two cutpoints the p-value was between
a list of symbols of the same length as p_values
e_pval_stars(c(0.049, 0.050, 0.051, NA))
#> [1] "*" "*" "-" ""
#> attr(,"legend")
#> [1] "0 '****' 1e-04 '***' 0.001 '**' 0.01 '*' 0.05 '-' 0.1 ' ' 1"