Create an html table of a computed CHAMPS object

html_table_site_age(
  x,
  margin_pct = TRUE,
  margin_denom = FALSE,
  inside_pct = FALSE,
  inside_denom = FALSE
)

Arguments

x

A computed CHAMPS object that contains a numerator and denominator of counts.

margin_pct

Should percentages be printed in the margins?

margin_denom

Should denominators be printed in the margins?

inside_pct

Should percentages be printed inside the table?

inside_denom

Should denominators be printed inside the table?

Examples

mock_calc <- calc_cc_allcases_by_site_age(mock,
  condition = 'Streptococcus agalactiae')
html_table_site_age(mock_calc)