Creating discrete choice dataset for mlogit / rchoice / mnlogit

Can you provide a reproducible example, it will make it easier for us to help you resolve the problem.