View source: R/format_strings.R
format_corr_apa | R Documentation |
This function takes the results of a bivariate correlation and formats it for easy markdown outputs
format_corr_apa(r, dof, p, as.markdown = T)
r |
value of correlation to be formatted |
dof |
degrees of freedom for the correlation |
p |
p-value of correlation |
as.markdown |
optional, indicates whether the resulting string should be formatted for markdown. Default is TRUE |
A formatted bivariate correlation statistic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.