Hello Martin,
Sorry for the late reply, I had not seen the comment. Notice, that in my example I had a binary outcome (married) and two binary variables (pdivorce) and (divorce). You do not need to create an interaction term, you can use factor variable notation and margins as in the example.