auto.cor | R Documentation |
Plot scatter plots, QQ plots and select between Pearson's or Spearman's correlation coefficient tests
auto.cor(x, y, xname = deparse(substitute(x)), yname = deparse(substitute(y)))
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 |
#current version does not support formula arguments yet, please stay tuned to the package updates
Tsz-Hong Chan
#
auto.cor(subset(iris,iris$Species=='setosa')$Sepal.Length,subset(iris,iris$Species=='setosa')$Sepal.Width,xname = "Sepal Length",yname = "Sepal Width")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.