Description Usage Arguments Value Examples
Generate a Rate Data for Plotting
1 | make_rate_data(grp, fltr, vals = "obese")
|
grp |
A character string of categorical grouping variable names. |
fltr |
A named list of filters, where each list element name is the name of the variable and the element value is a string of values whose membership is to be evaluated (see examples). |
vals |
A character string of continuous variables for which a rate will be calculated relative to population. Defaults to "obese." |
A dataframe with rates calculated for each value in vals.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.