ggcortest | R Documentation |
Visualise test for association between paired samples, using Pearson's product moment correlation coefficient.
ggcortest(t, colaccept="lightskyblue1", colreject="grey94",
colstat="navy")
t |
a list result of |
colaccept |
color the acceptance area of the test |
colreject |
color for the rejection area of the test |
colstat |
color for the test statistic vline |
corr_test <- cor.test(iris$Sepal.Length, iris$Sepal.Width)
corr_test
ggcortest(corr_test)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.