Simulates data from a (hierarchical) hidden Markov model.
simulate_data(controls, sim_par)A list of controls.
A list of model parameters for simulation in thetaList format.
A list containing the following elements:
A matrix of simulated data.
A matrix of simulated hidden states.
True parameters in format thetaUncon.
True parameters in format thetaCon.
True parameters in format thetaList.
A vector of fine-scale chunk sizes.