Learn R Programming

metaplot (version 0.7.1)

diag_label: Format a Diagonal Label

Description

Formats a diagonal label. Can return a simple column name, a column label (if attribute defined), a fractured column label (split on spaces), or a processed symbol (over-rides label).

Usage

diag_label(varname, .data,
  diag_label_simple = metOption("metaplot_diag_label_simple", FALSE),
  diag_label_split = metOption("metaplot_diag_label_split", TRUE),
  diag_symbol_format = metOption("metaplot_diag_symbol_format",
  "wikisym2plotmath"), ...)

Arguments

varname

character

.data

data.frame

diag_label_simple

logical: just return varname?

diag_label_split

whether to substitute line breaks for spaces

diag_symbol_format

function to process symbol attribute, if present

...

ignored

Value

character

See Also

Other panel functions: boxplot_panel, categorical_panel, corsplom_gg_correlation, corsplom_gg_diagonal, corsplom_gg_scatter, corsplom_panel_correlation, corsplom_panel_diagonal, corsplom_panel_scatter, dens_panel, diag_pin, iso_prepanel, metaplot_key, metaplot_ref, panel.meta_densityplot, panel_tile, scatter_panel_ref, scatter_panel

Other formatters: wikisym2plotmath_, wikisym2plotmath