how to find the state of a r chain ifelse sample_u how to find the state of a discrete chain ifelse how to find markov chain based on a sample how to find the state of the matrix in r what is the state of r for a sample how to find the state of the r matrix how do you find the state of a markov chain r how do we simulate the state of a chain in r what is the r command for the transition matrix how to find a state for a markov chain in r how to find the state of a discrete matrix in r how to find state of a markov chain in r how to find the state of a kmarkov chain what is the state in a r sequence what is the transition probability for a Markov chain r how to simulate a markov chain how to find state of markov chain r how to simulate a markov chain ifelse r code