auto.cor: Automatic selection, execution and visualization of...

View source: R/auto.cor.R

auto.corR Documentation

Automatic selection, execution and visualization of correlation between paired samples

Description

Plot scatter plots, QQ plots and select between Pearson's or Spearman's correlation coefficient tests

Usage

auto.cor(x, y, xname = deparse(substitute(x)), yname = deparse(substitute(y)))

Arguments

x

a continuous vector

y

a continuous vector

xname

name vector x and x axia of scatter plot

yname

name vector y and y axia of scatter plot

Note

#current version does not support formula arguments yet, please stay tuned to the package updates

Author(s)

Tsz-Hong Chan

Examples

#
auto.cor(subset(iris,iris$Species=='setosa')$Sepal.Length,subset(iris,iris$Species=='setosa')$Sepal.Width,xname = "Sepal Length",yname = "Sepal Width")

THChan11/autotest documentation built on June 11, 2025, 12:46 a.m.