Description Usage Arguments Value Examples
Calculate the variance for a directly standardized rate
1 |
df |
A data frame with the columns |
A variance as a double
1 2 3 4 5 6 7 8 9 10 | ## Not run:
df <- data.frame(counts, popn, std_popn) %>%
dplyr::mutate(
spec_rt = get_spec_rt(counts, popn),
exp_counts = spec_rt * std_popn
)
get_ds_rt_var(df)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.