This function helps store z from all iterations after burn in

StoreZ(z, store_z, nobs)

Arguments

z

An integer vector.

store_z

An integer matrix.

nobs

An integer.