In the code in mblogit for dealing with the groups argument, there seems to be a typo on line 124:
gf <- as.formula(rf)
As far as I can tell, the variable rf should never be defined at this point in the code (since it is only defined in a mutually exclusive branch of the if/else), so this line will always throw an error. Presumably the correct line is:
In the code in mblogit for dealing with the groups argument, there seems to be a typo on line 124:
As far as I can tell, the variable
rf
should never be defined at this point in the code (since it is only defined in a mutually exclusive branch of the if/else), so this line will always throw an error. Presumably the correct line is: