corsplom_panel_diagonal: Diagonal Panel Function for Metaplot Corsplom

Description Usage Arguments See Also

View source: R/utils.R

Description

Default diagonal panel function for corsplom_data_frame. Plots a density smooth against the corresponding axis from within the diagonal panel. Plots a grey pin at each axis zero.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
corsplom_panel_diagonal(x, varname, .data, density = TRUE,
  diag.label = metOption("diag_label_corsplom_panel", diag_label),
  pin = metOption("pin_loc_corsplom_panel", diag_pin),
  pin.col = metOption("pin_col_corsplom_panel", "darkgrey"),
  pin.alpha = metOption("pin_alpha_corsplom_panel", 1),
  dens.col = metOption("dens_col_corsplom_panel", "grey"),
  dens.scale = metOption("dens_scale_corsplom_panel", 0.2),
  dens.alpha = metOption("dens_alpha_corsplom_panel", 0.5),
  as.table = metOption("as.table_corsplom_panel", FALSE),
  dens.up = metOption("densup_corsplom_panel", TRUE),
  verbose = metOption("verbose_corsplom_panel", FALSE), ...)

Arguments

x

numeric

varname

variable name

.data

copy of original dataset

density

whether to plot density polygons

diag.label

label for the diagonal; can be a function of x, varname, .data

pin

location for a pin (reference line) in the density region; can be a function of x, varname, .data

pin.col

color of pin, if any

pin.alpha

alpha transparency of pin

dens.col

color for density region

dens.scale

inflation factor for height of density smooth

dens.alpha

alpha transparency for density region

as.table

diagonal arranged top-left to bottom-right

dens.up

whether density plots should face the upper triangle (or lower, if FALSE)

verbose

generate messages describing process

...

passed arguments

See Also

corsplom

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


metaplot documentation built on May 1, 2019, 10:17 p.m.