geom_panel_grid: Add panel grid line on correlation plot

Description Usage Arguments Author(s) Examples

View source: R/geom-panel-grid.R

Description

geom_grid is mainly used with ggcor or quickcor function to add a panel grid line on plot region.

Usage

1
geom_panel_grid(colour = "grey50", size = 0.25, color = NULL)

Arguments

colour, color

colour of grid lines.

size

size of grid lines.

Author(s)

Houyun Huang, Lei Zhou, Jian Chen, Taiyun Wei

Examples

1
2
3
4
df <- fortify_cor(mtcars)
ggcor(df) + geom_panel_grid()
require(ggplot2, quietly = TRUE)
ggplot(df, aes(x, y)) + geom_panel_grid()

houyunhuang/ggcor documentation built on July 22, 2020, 8:31 p.m.