This function takes in the indicator matrix for one feature and the census data. using the raking algorism to calculate the weights for the feature according to the census constrain
1 2 | rakeWeights(ind, con, n_zone, n_ind, n_start, n_cons, wt, ind_agg, count,
tol = 0.0115)
|
A list of the resulting weights, number of total iteration each iteration will compare the difference between the current weights and the previous weights, if there is practically no difference the number of iteration will be overwrote to 1000000001 to get out ot the iteration
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.