mclgen has been deprecated. Use mlogit.data in the mlogit package
mclgen was used to restructure a data-frame into a person-choice
file for estimation of a multinomial logit as a conditional logit model. The mlogit.data does this as well but has greater flexibility. See examples in the sqtab help file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.