The HH Size is the problem - it doesn't follow R's rules for a name. Put backticks around it: `HH Size`.
-Bill On Tue, Mar 21, 2023 at 9:47 AM Nandini raj <nandiniraj9...@gmail.com> wrote: > Respected sir/madam > can you please suggest what is an unexpected symbol in the below code for > running a multinomial logistic regression > > model <- multinom(adoption ~ age + education + HH size + landholding + > Farmincome + nonfarmincome + creditaccesibility + LHI, data=newdata) > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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 -- To UNSUBSCRIBE and more, see 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.