[R] Finding combination of states
Christofer Bogaso
bog@@o@chr|@to|er @end|ng |rom gm@||@com
Mon Sep 4 14:41:35 CEST 2023
Let say I have 3 time points.as T0, T1, and T2.(number of such time
points can be arbitrary) In each time point, an object can be any of 5
states, A, B, C, D, E (number of such states can be arbitrary)
I need to find all possible ways, how that object starting with state
B (say) at time T0, can be on state E (example) in time T2
For example one possibility is BAE etc.
Is there any function available with R, that can give me a vector of
such possibilities for arbitrary number of states, time, and for a
given initial and final (desired) states?
ANy pointer will be very appreciated.
Thanks for your time.
More information about the R-help
mailing list