Description Usage Arguments Value
View source: R/simulate-agents.R
Draw the transfer matrix
1 | draws_to_states(agent_states, draw_matrix)
|
agent_states |
vector of length agent_states where each has a value of -1, 0, ..., K-1. |
draw_matrix |
KxK matrix |
vector of length agent_states of new states
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.