Last chance! 50% off unlimited learning
Sale ends in
This function returns a formatted character of correlation statistics.
cor_text(x, show_ci = TRUE, show_statistic = TRUE, show_sig = TRUE, ...)
A dataframe with correlation statistics.
Toggle on/off different parts of the text.
Other arguments to be passed to or from other functions.
# NOT RUN {
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)
# }
Run the code above in your browser using DataLab