figTrendBU: BU Trend Chart in Auto Reporting

Description Usage Arguments Value Author(s) See Also

Description

Only used for automated reporting. Get BU trend distribution.

Usage

1
2
3
4
figTrendBU(data, imput = NULL, riskvar, tblBU, librisk, sort = list(col
  = 1, desc = FALSE), digits, lang = c("cn", "en"),
  na.string = getOption("na.string"), altfont = "Microsoft YaHei",
  dynamic = FALSE, ...)

Arguments

data

Raw data frame.

imput

Summarized data frame.

riskvar

Variable name of the risk.

tblBU

Data frame of the BU pool.

librisk

Data frame of the risk pool.

sort

A list. Default list(col=1, desc=FALSE), meaning sort the results ascendingly by Col1.

digits

Number of digits of the results. Default 1.

lang

'cn' or 'en'.

na.string

A named vector c(cn=..., en=...). How to present NAs. Default getOption("na.string"). You can define yours.

altfont

Alternative font name. Default 'Microsoft YaHei'.

dynamic

Interactive JavaScript charts/tables or not. If TRUE, call recharts::echartR to make the object. Default FALSE.

...

Value

A ggplot2 object or echarts object.

Author(s)

Yiying Wang, wangy@aetna.com

See Also

ggplot2 echartR


madlogos/asesrpt documentation built on June 26, 2019, 12:17 a.m.