I would like to built a Markov chain with which I can simulate the daily routine of people (activity patterns). Each simulation day is divided into 144-time steps and the person can carry out one of fourteen activities.
I have already looked at different examples of how to calculate Markov chains in R. However, none of these examples take into account that, for each time step t, new transition matrices need to be derived from the initial dataset.
I would be very happy if someone could help me with this.