The function sig_coder()
produces significance stars associated with p
values
Usage
sig_coder(x = NULL, make_lab = TRUE)
Arguments
- x
p value (numeric) (default = NULL)
- make_lab
Logical whether to return a legend for the significance
stars (default = TRUE).
Value
Character string encoding for the significance star associated with
the p value. If argument make_lab = TRUE
then a list is return, where
the second element contains the legend.