Description Usage Arguments Value
View source: R/simulate-agents-multinomial-updater.R
Multinomial draws to update states depending on past count
1 | multinomial_updater(state_counts, par_vals, D_list_fxns, time = NA)
|
state_counts |
vector of length K of counts in each state |
par_vals |
parameter vector values |
D_list_fxns |
output from |
time |
current time, possibly used in the udpate function |
KxK matrix with new number in each state for agents who were in state i
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.