my goal here is simple:
I have a bunch of sequences, and a few sequences of interest (that do contain a certain subsequence). I want to force that division and use a tree method (either CART or CHAID) to explore covariates able to explain my binary variable (containing or not the subsequence).
The sequences I'm talking about are event sequences.
Any help would be appreciated ! thanks.
TraMineR
. You should try therpart
tag. Theseqtree
anddisstree
functions ofTraMineR
have afirst=
argument. I don't think there is one inrpart
. You may also look atparty
. $\endgroup$