Lee, A working, or in this case failing, example is necessary to detect what the problem is. This would include a statement loading the package that you use to run your mlogit models; the latter is necessary because there are various packages with functions that are called mlgoit. Best, Ingmar
On Wed, Aug 1, 2012 at 3:05 PM, Lee van Cleef <l.van.cl...@gmx.net> wrote: > Ingmar, many thanks. I get that one from R: > > Error in model.frame.default(terms(formula, lhs = lhs, rhs = rhs, data = > data), : > variable lengths differ (found for 'X') > > X is the variable I have used. > > Any comment would be much appreciated. > > Best regards! > > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/length-of-variable-in-mlogit-tp4638323p4638667.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.