Skip to contents

Create a report chunk for dementia indicators

Usage

report_op_dementia(format = "html")

Arguments

format

Either html, docx, or odt. Defaults to html.

Value

A reporting chunk for dementia indicators

Author

Ernest Guevarra

Examples

  report_op_dementia()
#> 
#> # Dementia
#> 
#> ```{r csidPlot}
#> oldr::chart_csid(x = oldr::create_op_all(svy = svy), save_chart = FALSE)
#> ```
#> 
#> ```{r csidTable}
#> knitr::kable(x = resultsDF[94, ],
#>   caption = 'Dementia',
#>   booktabs = TRUE,
#>   digits = 2,
#>   col.names = c('Indicator', 'Type', 'Est', '95% LCL', '95% UCL', 'Est', '95% LCL', '95% UCL', 'Est', '95% LCL', '95% UCL')) %>%
#>   kableExtra::kable_styling(bootstrap_options = c('striped')) %>%
#>   kableExtra::add_header_above(c(' ' = 2, 'ALL' = 3, 'MALES' = 3, 'FEMALES' = 3))
#> ```