hgch_bar_CatCat: Grouped bar by first category (categories, categories)

Description Usage Arguments Value ctypes Examples

View source: R/bars.R

Description

Compare quantities among two categories

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
hgch_bar_CatCat(data, title = NULL, subtitle = NULL, caption = NULL,
  horLabel = NULL, verLabel = NULL, horLine = NULL,
  horLineLabel = " ", verLine = NULL, verLineLabel = " ",
  graphType = "grouped", agg = "sum", colors = c("#009EE3",
  "#F9B233"), colorScale = "discrete", dropNa = c(FALSE, FALSE),
  format = c("", ""), labelWrap = c(12, 12),
  legendPosition = "right", marks = c(".", ","), nDigits = NULL,
  order1 = NULL, order2 = NULL, orientation = "ver",
  percentage = FALSE, theme = tma(diffColorsBar = FALSE),
  tooltip = list(headerFormat = NULL, pointFormat = NULL, shared = NULL),
  export = FALSE, ...)

Arguments

data

A data.frame

Value

Highcharts visualization

ctypes

Cat-Cat, Cat-Dat, Cat-Yea, Yea-Cat, Yea-Dat, Yea-Yea, Dat-Cat, Dat-Yea, Dat-Dat

Examples

1
hgch_bar_CatCat(sampleData("Cat-Cat", nrow = 10))

randommonkey/hgchmagic documentation built on Nov. 9, 2018, 5:39 p.m.