powered by
Format p-values.
format_p(p, stars = FALSE, stars_only = FALSE, name = "p")
value or vector of p-values.
Add significance stars (e.g., p < .001***).
Return only significance stars.
Name prefixing the text. Can be NULL.
NULL
A formatted string.
# NOT RUN { format_p(c(.02, .065, 0, .23)) format_p(c(.02, .065, 0, .23), name = NULL) format_p(c(.02, .065, 0, .23), stars_only = TRUE) # }
Run the code above in your browser using DataLab