| add_total_pool_to_data | R Documentation |
Add an aggregated set of observations to a data.frame
add_total_pool_to_data(data, pool_var, id_var)
data |
A |
pool_var |
A string representing the variable name of the pool variable. |
id_var |
A string representing the variable name of the id variable. |
Add an aggregated set of observations to a data.frame based on a "pool" variable provided.
a data.frame with additional observations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.