figAge: Age-Gender Chart in Auto Reporting

Description Usage Arguments Value Author(s) See Also

Description

Only used for automated reporting. Get an age-gender distribution.

Usage

1
2
3
4
figAge(data, imput = NULL, riskvar, librisk, tblGender, curYrs,
  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.

librisk

Data frame of the risk pool.

tblGender

Data frame of gender pool.

curYrs

String. The year range of this plot.

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.

...

ignore

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.