View source: R/format_strings.R
format_pairwise_comparison | R Documentation |
This function takes the results of a pairwise comparison and formats it for easy markdown outputs
format_pairwise_comparison(
t_stat,
df,
p_val,
mdiff = "none",
lci = "none",
uci = "none",
cohen_d = "none",
as.markdown = T
)
t_stat |
t-statistic |
df |
degrees of freedom |
p_val |
p-value of t-statistic |
mdiff |
optional, the mean difference of the comparison |
lci |
optional, the lower end of the confidence interval on the comparison |
uci |
optional, the upper end of the confidence interval on the comparison |
cohen_d |
optional, Cohen's d standardized effect size |
as.markdown |
optional, indicates whether the resulting string should be formatted for markdown. Default is TRUE |
A formatted t-statistic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.