void(active_table_ethnicity())
matches snapshotCode
tbl_void
Output
a flextable object.
col_keys: `grp`, `n`, `percent`, `rate`
header has 1 row(s)
body has 4 row(s)
original dataset sample:
grp n percent rate
1 Hispanic/Latino 700 70 10000.0000
2 Not Hispanic/Latino 100 10 10000.0000
3 Missing 200 20 NA
4 Total 1000 100 106.7047
active_calc_ethnicity()
matches snapshotCode
tbl_active
Output
# A tibble: 3 x 4
grp n percent rate
<fct> <int> <dbl> <dbl>
1 Hispanic/Latino 635 0.706 0.0102
2 Not Hispanic/Latino 86 0.0956 0.0000983
3 Missing 179 0.199 NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.