Description Usage Arguments Value
Simulate migration of indivduals between different states in single dimension of population segmentation, such as "brand favorability."
1 | MigrateMarginal(data.dt, migrating.pop.size, migration.dim, transition.matrix)
|
data.dt |
data.table with rows representing population segments and columns representing specific variables. |
migrating.pop.size |
migrating population size |
migration.dim |
name dimension of migration, must be a column of kAllStates. |
transition.matrix |
transition matrix specifying probabilities of migration between states. |
invisible(NULL)
. data.dt
is updated by reference.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.