Trying to Knit my Rcode onto a word doc. This is the code Im trying to run.
And this is the error message I am getting.
Error:
! object ‘v2lgfemleg’ not found
Backtrace:
- stats::model.frame.default(…)
- base::eval(predvars, data, env)
- base::eval(predvars, data, env)
Execution halted
Really not sure what the problem is, all of my code works when I try to run it in Markdown and in Script. Tried putting the error message into Chatgpt but none of their solutions worked.
New contributor
Grant Reeder is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.