qpairs: Init pairs plot

View source: R/experimental-fun.R

qpairsR Documentation

Init pairs plot

Description

This functions can be used to init pairs plot based on ggplot.

Usage

qpairs(
  data,
  mapping = NULL,
  expansion = NULL,
  axis_child = TRUE,
  data2 = NULL,
  except = NULL,
  type = "full",
  diag = TRUE,
  rasterize = TRUE,
  res = NULL,
  grid_col = "grey50",
  grid_size = 0.25,
  drop = TRUE,
  use_md = NULL,
  ...
)

Arguments

data

a data frame.

mapping

default list of aesthetic mappings to use for plot.

expansion

a list of x/y axis expansion of child plot.

axis_child

logical, if (TRUE) will add child plot axis.

data2

NULL or a data frame.

except

character, which variable will not be contained in plot.

type

character, "full" (default), "upper" or "lower", display full matrix, lower triangular or upper triangular matrix.

diag

logical, if TRUE (default) will keep the diagonal of matrix data.

rasterize

logical, whether to convert raster image before drawing.

res

positive numeric, used to set the resolution of raster.

grid_col

colour of panel grid.

grid_size

size of panel grid.

drop

logical. If TRUE, the unused labels will be removed.

use_md

logical. if TRUE, will use ggtext::element_markdown() to draw the axis labels.

...

passed to guide_child_axis().

Value

a ggplot object.

Author(s)

Hou Yun

Examples

## Not run: 
qpairs(iris) + geom_pairs()

## End(Not run)

Hy4m/linkET documentation built on June 30, 2023, 7:39 p.m.