Description Usage Arguments Value
Weight place assignment probabilities
1 2 | get_weight_dists(dist_mat, places, method = "uniform",
cap_fxn = cap_default)
|
dist_mat |
a m x n matrix where m is the number of people and n is the number of schools |
places |
data frame of places with an ID column |
method |
("uniform", "capacity") |
cap_fxn |
a function with one argument, a single capacity. This should be a monotone increasing function. The default is cap_default. |
m x n matrix of probabilities. Each row should sum to 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.