cor_ic: Graph: Plot Pearson correlation with interval of confidence
Description
Plot Pearson correlation with interval of confidence
Usage
cor_ic(
data,
background = TRUE,
axis.size = 12,
ylab = "",
xlab = "Correlation (r)",
theme = theme_classic()
)
Value
The function returns a new graphical approach to correlation.
Arguments
- data
data.frame with responses
- background
background fill (default is TRUE)
- axis.size
Axes font size (default is 12)
- ylab
Variable response name (Accepts the expression() function)
- xlab
Treatments name (Accepts the expression() function)
- theme
ggplot theme (default is theme_classic())
Author
Gabriel Danilo Shimizu, shimizu@uel.br
Leandro Simoes Azeredo Goncalves
Rodrigo Yudi Palhaci Marubayashi
Examples
Run this codedata("pomegranate")
cor_ic(pomegranate[,-1])
Run the code above in your browser using DataLab