Description Usage Arguments Value
View source: R/utility_functions.R
This function creates a weighted average vector that can be added as a column to dp data with appropriate standard deviation in first row for use in lmdp
1 |
data |
DP data frame where first row is sd of dp noise |
weight_vars |
A character vector with the names of count variables that make up the weights |
values |
A numeric vector of known constants associated with each count |
A new weighted average variable that can be added as a new column to the DP data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.