I am making a Hidden Markov Model for a maternity dataset in R. Lets say I want to observe the patterns in 1st, 2nd and 3rd pregnancy. In every pregnancy, I have two variables i.e Son and Daughter. But my model is taking Son and daughter as states while I want Preg 1,2 and 3 as three different states. Data looks like this;
P1 P2 P3
S D S
D D S
S S D
S S S
How can tailor my model in this way?