reconstruct: Reconstruct lu tables

Description Usage Arguments Examples

View source: R/reconstruct.R

Description

Reconstruct alcohol attributable fractions table for given version and analysis type.

Usage

1
2
3
reconstruct(this_version = c("aaf_2017_phe", "aaf_2014_ljucph",
  "aaf_2008_ljucph", "aaf_2007_ni39"), this_analysistype = c("morbidity",
  "mortality"), verbose = TRUE, molten = FALSE)

Arguments

this_version

table version to reconstruct

this_analysistype

specify analysis type: either morbidity or mortality

verbose

show messages about which table is being reconstructed

molten

boolean to indicate cast or molten on (sex, ageband)

Examples

1
2
3
4
5
t1 <- reconstruct("aaf_2017_phe", "morbidity")
str(t1)

t2 <- reconstruct("aaf_2017_phe", "morbidity", molten = TRUE)
str(t2)

ianbatesncc/aafractions.ncc documentation built on May 3, 2019, 3:34 p.m.