Description Usage Arguments Value
Microsimulation alignment ensures that the simulation outcome matches its given alignment target while the selection probabilities are based on each individual's likelihood.
1 | alignment(prediction, target)
|
prediction |
a data.table with columns that contain predicted probabilities |
target |
a named list that contains name-number value pairs that represent the number of agents to be aligned to each choice. |
a character vector with the same length as the nubmer of rows of
prediction
. Where the index of the vector correspond to the index of the rows
of prediction
,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.