cor_text {correlation} | 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)