Learn R Programming

loon.ggplot (version 1.3.4)

g_getPlots: get ggplots

Description

For the target compound loon plot, determines all the ggplots based on the compound loon plot.

Usage

g_getPlots(
  target,
  asAes = TRUE,
  selectedOnTop = TRUE,
  showNearestColor = FALSE
)

# S3 method for default g_getPlots( target, asAes = TRUE, selectedOnTop = TRUE, showNearestColor = FALSE )

# S3 method for l_pairs g_getPlots( target, asAes = TRUE, selectedOnTop = TRUE, showNearestColor = FALSE )

Value

a list of ggplots.

Arguments

target

the (compound) loon plot

asAes

logical; set aesthetics attributes, i.e. `color`, `fill` as variables (default TRUE) or general visual properties (FALSE). See details

selectedOnTop

logical and default is TRUE; whether to display the selected points on top. See details.

showNearestColor

logical and default is FALSE; if TRUE, the legend of color and fill (hex code) would be converted to the R built-in color names. For some hex codes, there are no precise matching. Consequently, these colors will be converted to the R built-in color names which are the "nearest" of these hex codes.

See Also

l_getPlots, g_getLocations