Learn R Programming

metaplot (version 0.7.1)

categorical_panel: Panel Function for Metaplot Categorical Plot

Description

Default panel function for categorical_data_frame. Implements a simple mosaic plot.

Usage

categorical_panel(x, y, groups, bivariate = TRUE,
  loc = metOption("metaplot_msg_loc_categorical_panel", 5),
  msg = metOption("metaplot_msg_format_categorical_panel", "tilestats"),
  tex = metOption("metaplot_tex_categorical_panel", 0.9),
  cex = metOption("metaplot_cex_categorical_panel", 1),
  rot = metOption("metaplot_rot_categorical_panel", c(90, 0)), subscripts,
  ...)

Arguments

x

x values

y

y values

groups

optional grouping item

bivariate

whether to create y axis

loc

where to print statistics in a tile

msg

a function of x and y to print text in a tile

tex

tile expansion: scale factor for reducing each tile size relative to full size (<= 1)

cex

expansion for msg text

rot

rotation for axis labels; can be length 2 for y and x axes, respectively

subscripts

subscripts of the original data for this panel

...

passed to panel.superpose

See Also

tilestats

categorical.data.frame

Other panel functions: boxplot_panel, corsplom_gg_correlation, corsplom_gg_diagonal, corsplom_gg_scatter, corsplom_panel_correlation, corsplom_panel_diagonal, 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

Other categorical: categorical.data.frame, categorical_data_frame, categorical, panel_tile