geom_diag_label: Add diagonal label on hyplot

View source: R/geom-diag-label.R

geom_diag_labelR Documentation

Add diagonal label on hyplot

Description

geom_panel_grid is mainly used with hyplot(). function to add a panel grid line on plot region. Add diagnoal labels on correlation plot

geom_diag_label is mainly used with hyplot() and qcorrplot() functions to add diagnoal labels on correct position base on different type of cor_tbl object.

Usage

geom_diag_label(..., parse = FALSE, geom = NULL)

Arguments

...

extra parameters.

parse

logical or function generated by parse_func().

geom

one of "text", "label" or "richtext" (needs 'ggtext' package).

Author(s)

Hou Yun

Examples

qcorrplot(correlate(mtcars)) + geom_diag_label()

Hy4m/linkET documentation built on June 30, 2023, 7:39 p.m.