View source: R/get_significance_stars.R
get_significance_stars | R Documentation |
Generate significance signs from p values
Generate a vector of significance stars for a set of p values.
get_significance_stars( p_vals, sign_levels = list(`.001` = "***", `.01` = "**", `.05` = "*") )
p_vals |
A vector of p values |
sign_levels |
A list consisting of the significance levels as names and significance signs as values. Names must be provided as strings and can have a leading zero (but don't have to), i.e. can be in form of e.g. ".001" or "0.001". Significance signs must also be provided as strings. |
A vector of significance signs corresponding to the p values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.