getStrInterpret: Structured Interpretation

Description Usage Arguments Value Author(s) Examples

Description

In an automated report, use this function to structure the elements you want to put in each section.

Usage

1
2
3
4
5
6
7
8
getStrInterpret(librisk, riskvar, risk.level = 2,
  title.headlevel = risk.level + 1, lang = c("cn", "en"),
  suppl = list(posttitle = NULL, pretabBU = NULL, posttabBU = NULL,
  prefigAge = NULL, postfigAge = NULL, pretabAge = NULL, posttabAge = NULL,
  prefigBU = NULL, postfigBU = NULL, pretabCity = NULL, posttabCity = NULL,
  prefigCity = NULL, postfigCity = NULL, pretabTrendBU = NULL,
  posttabTrendBU = NULL, prefigTrendBU = NULL, postfigTrendBU = NULL,
  ending = NULL), ...)

Arguments

librisk

Data frame of the health risks

riskvar

Variable name of the specific risk

risk.level

The level of the risk.

0

section title

1

risk group

2

specific risk

title.headlevel

If risk.level = 1, then title.headlevel should be 2, and in markdown document, it is shown as "##"

lang

Language, "cn" or "en"

suppl

A list. Supplemental wording pre- or post- each element of the section.

...

Value

A list containing all the wording elements in the list.

Author(s)

Yiying Wang, wangy@aetna.com

Examples

1
2
3
4
## Not run: 
getStrInterpret(libRisk, "Owt", suppl=list(posttitle="Sub title", ending="Close"))

## End(Not run)

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