Skip to contents

Create a report chunk for visual acuity

Usage

report_op_visual(format = "html")

Arguments

format

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

Value

A reporting chunk for visual acuity

Author

Ernest Guevarra

Examples

  report_op_visual()
#> 
#> # Visual acuity
#> 
#> ```{r visualTable}
#> knitr::kable(x = resultsDF[133, ],
#>   caption = 'Visual impairment',
#>   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))
#> ```