Multinomial draws to update states depending on past count

multinomial_updater(state_counts, par_vals, D_list_fxns, time = NA)

Arguments

state_counts

vector of length K of counts in each state

par_vals

parameter vector values

D_list_fxns

output from trans_mat_to_D_fxn

time

current time, possibly used in the udpate function

Value

KxK matrix with new number in each state for agents who were in state i