metaplot_key {metaplot}R Documentation

Default Key

Description

Default key function for constructing scatterplot legends.

Usage

metaplot_key(
  groups,
  levels,
  points = rep(FALSE, length.out = length(levels)),
  lines = rep(FALSE, length.out = length(levels)),
  fill = rep(FALSE, length.out = length(levels)),
  space = "right",
  gg = FALSE,
  type = "scatter",
  verbose = FALSE,
  ...
)

Arguments

groups

name of the grouping variable

levels

the (unique) levels of the grouping variable

points

logical or alpha, same length as groups

lines

logical or alpha, same length as groups

fill

logical or alpha, same length as groups

space

character: left, right, top, or bottom

gg

logical: whether to to return a list of arguments for theme instead of for auto.key as in xyplot

type

typically one of 'categorical','density', or 'scatter'

verbose

generate messages describing process

...

ignored

Value

list, or possibly logical if gg is FALSE

See Also

Other metaplot: boxplot_data_frame(), categorical_data_frame(), corsplom_data_frame(), densplot_data_frame(), metaplot(), scatter_data_frame(), test_metaplot()

Other scatter: scatter.data.frame(), scatter_data_frame(), scatter_panel(), scatter()

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_label(), diag_pin(), iso_prepanel(), metaplot_ref(), panel.meta_densityplot(), panel_tile(), scatter_panel_ref(), scatter_panel()


[Package metaplot version 0.8.4 Index]