plot_cor: Plot correlation

Description Usage Value Examples

View source: R/plot_stat_figures.R

Description

This function plots correlation between two variables.

Usage

1
2
plot_cor(x, y, groups = NULL, xlab = NULL, ylab = NULL,
  legend.pos = "top")

Value

a ggplot2 object of the plot

Examples

1
2
 library(cowplot)
 plot_cor(iris$Sepal.Length, iris$Sepal.Width)

gflab/gfplot documentation built on Sept. 14, 2020, 12:03 a.m.