svy_ratio | R Documentation |
Survey ratio
svy_ratio(
design,
num,
denom,
group = NULL,
na_rm = TRUE,
stat_name = "ratio",
...
)
design |
A srvyr::design object |
num |
The numerator column |
denom |
The denominator column |
group |
A quoted or unquoted vector of columns to group by. Default to NULL for no group |
na_rm |
Should NAs from |
stat_name |
What should the statistic's column be named? Default to "ratio" |
... |
Parameters to pass to srvyr::survey_mean() |
A survey-summarized-interaction tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.