Your question is about substitution costs in TraMineR
, and TraMineR
uses substitution costs for computing optimal matching and related dissimilarity measures. Costs are supposed to reflect the dissimilarity between states.
The algorithm used for determining the minimal cost of editing one sequence into the other is essentially Needleman & Wunsch , and this algorithm assumes the costs are symmetric.
So, your question is not a concern for TraMineR
.
If you really want to use a concept of non-symmetric costs, you will have to look for algorithms---or define your own algorithm---to evaluate the dissimilarity between sequences from such non-symmetric costs. No such function is provided by TraMineR
.