View source: R/calc_stdrate_var.R
calc_stdrate_var | R Documentation |
Given a bare (unquoted) column of age-specific rates, variance, and weights, will return the age-standardized rate and variance.
calc_stdrate_var(df, asrate_col, asvar_col, ..., weight_col = unit_w)
df |
processed MCOD dataframe |
asrate_col |
age-specific rate column |
asvar_col |
variance of the age-specific rate |
... |
grouping variables (in addition to year and race) |
weight_col |
column of (unit) weights |
dataframe with two new columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.