powered by
Probability of direction (pd) formatting
format_pd(pd, stars = FALSE, stars_only = FALSE, name = "pd")
A formatted string.
Probability of direction (pd).
Add significance stars (e.g., p < .001***).
Return only significance stars.
Name prefixing the text. Can be NULL.
NULL
format_pd(0.12) format_pd(c(0.12, 1, 0.9999, 0.98, 0.995, 0.96), name = NULL) format_pd(c(0.12, 1, 0.9999, 0.98, 0.995, 0.96), stars = TRUE)
Run the code above in your browser using DataLab