Skip to contents

Create a report chunk for activities of daily living indicators

Usage

report_op_adl(format = "html")

Arguments

format

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

Value

A reporting chunk for ADL indicators

Author

Ernest Guevarra

Examples

  report_op_adl()
#> 
#> # Activities of daily living
#> ```{r adlPlot}
#> oldr::chart_adl(x = oldr::create_op_all(svy = svy), save_chart = FALSE)
#> ```
#> 
#> ```{r adlTable}
#> knitr::kable(x = resultsDF[80:91, ],
#>   caption = 'Activities of daily living',
#>   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))
#> ```