cor_text | R Documentation |
This function returns a formatted character of correlation statistics.
cor_text(x, show_ci = TRUE, show_statistic = TRUE, show_sig = TRUE, ...)
x |
A dataframe with correlation statistics. |
show_ci , show_statistic , show_sig |
Toggle on/off different parts of the text. |
... |
Other arguments to be passed to or from other functions. |
rez <- cor_test(mtcars, "mpg", "wt")
cor_text(rez)
cor_text(rez, show_statistic = FALSE, show_ci = FALSE, stars = TRUE)
rez <- correlation(mtcars)
cor_text(rez)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.