Description Usage Arguments Value Author(s) Examples
View source: R/plotcor_function.R
Correlation analysis function (Pearson or Spearman)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
x |
Numeric vector with independent variable |
y |
Numeric vector with dependent variable |
method |
Method correlation (default is Pearson) |
ylab |
Variable response name (Accepts the expression() function) |
xlab |
Treatments name (Accepts the expression() function) |
theme |
ggplot2 theme (default is theme_classic()) |
pointsize |
Point size |
shape |
shape format |
fill |
Fill point |
color |
Color point |
axis.size |
Axis text size |
ic |
add interval of confidence |
title |
title |
family |
Font family |
The function returns a graph for correlation
Gabriel Danilo Shimizu, shimizu@uel.br
Leandro Simoes Azeredo Goncalves
Rodrigo Yudi Palhaci Marubayashi
1 2 | data("pomegranate")
with(pomegranate, plot_cor(WL, SS, xlab="WL", ylab="SS"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.