facet: facet main function

Description Usage Arguments

View source: R/facet.R

Description

facet for g2plot

Usage

1
2
3
4
5
6
7
facet(
  g2plot,
  type = c("rect", "list", "circle", "tree", "mirror", "matrix"),
  by = NULL,
  showTitle = c(TRUE, FALSE),
  ...
)

Arguments

type

rect 默认类型,指定 2 个维度作为行列,形成图表的矩阵。 list 指定一个维度,可以指定一行有几列,超出自动换行。 circle 指定一个维度,沿着圆分布。 tree 指定多个维度,每个维度作为树的一级,展开多层图表。 mirror 指定一个维度,形成镜像图表。 matrix matrix

by

facet by fields at least one field,...


GOUYONGCHAO/g2r documentation built on March 16, 2021, 9:02 p.m.