format_pd | R Documentation |
Probability of direction (pd) formatting
format_pd(pd, stars = FALSE, stars_only = FALSE, name = "pd")
pd |
Probability of direction (pd). |
stars |
Add significance stars (e.g., p < .001***). For Bayes factors, the thresholds for "significant" results are values larger than 3, 10, and 30. |
stars_only |
Return only significance stars. |
name |
Name prefixing the text. Can be |
A formatted string.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.