ggcortest: Plot test for association between paired samples

Description Usage Arguments Examples

View source: R/ggcortest.R

Description

Visualise test for association between paired samples, using Pearson's product moment correlation coefficient.

Usage

1
ggcortest(t, colaccept="lightskyblue1", colreject="grey94", colstat="navy")

Arguments

t

a list result of cor.test of "htest" class

colaccept

color the acceptance area of the test

colreject

color for the rejection area of the test

colstat

color for the test statistic vline

Examples

1
2
3
corr_test <- cor.test(iris$Sepal.Length, iris$Sepal.Width)
corr_test
ggcortest(corr_test)

gginference documentation built on Nov. 10, 2020, 5:10 p.m.