powered by
Visualise test for association between paired samples, using Pearson's product moment correlation coefficient.
ggcortest(t, colaccept="lightskyblue1", colreject="grey94", colstat="navy")
a list result of cor.test of "htest" class
cor.test
color the acceptance area of the test
color for the rejection area of the test
color for the test statistic vline
# NOT RUN { corr_test <- cor.test(iris$Sepal.Length, iris$Sepal.Width) corr_test ggcortest(corr_test) # }
Run the code above in your browser using DataLab