Description Usage Arguments Value Examples
Populate a matrix in which columns represent the states of the individuals and rows represent the individuals.
1 |
states |
A numeric vector with each element representing the number of individuals in a particular state its index corresponds to. |
shuffle |
A logical value to enable shuffling of the individuals (rows) in the resulting matrix. |
A matrix of 0s, and 1s. The rows representing the individuals and the columns representing the states the individuals are in
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.