Description Usage Arguments Author(s) Examples
View source: R/geom-diag-label.R
geom_diag_label
is mainly used with ggcor
and
quickcor
functions to add diagnoal labels on correct position
base on different type of cor_tbl object.
1 | geom_diag_label(..., geom = "text", remove.axis = TRUE)
|
... |
extra parameters. |
geom |
one of "text", "label" or "image". |
remove.axis |
if TRUE, will remove the axis. |
Houyun Huang, Lei Zhou, Jian Chen, Taiyun Wei
1 2 | quickcor(mtcars, type = "upper") + geom_colour() + geom_diag_label()
quickcor(mtcars, type = "lower") + geom_colour() + geom_diag_label()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.