Create a report chunk for activities of daily living indicators
Source:R/10-report.R
report_op_adl.Rd
Create a report chunk for activities of daily living indicators
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))
#> ```