Description Usage Arguments Author(s) Examples
View source: R/geom-panel-grid.R
geom_grid
is mainly used with ggcor
or quickcor
function to add a panel grid line on plot region.
1 | geom_panel_grid(colour = "grey50", size = 0.25, color = NULL)
|
colour, color |
colour of grid lines. |
size |
size of grid lines. |
Houyun Huang, Lei Zhou, Jian Chen, Taiyun Wei
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()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.