Description Usage Arguments Value
Assign weights for ipf-based sampling
1  | assign_weights(pums, table, alpha, k, marginals)
 | 
pums | 
 dataframe with marginal columns  | 
table | 
 dataframe with marginal combinations and frequencies  | 
alpha | 
 number between 0 and 1, weight of categorical variables  | 
k | 
 number between 0 and 1, weight of orginal variables  | 
marginals | 
 list with marginal data  | 
weight matrix, rows = rows in pums, columns = rows in table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.