I am a little rusty but am trying to create a linear regression model to forecast sales but keep running into some road blocks so thought I'd come here for help instead of spinning my wheels.
I have a lot of independent variables in my file, but when I run model below I get error message saying unexpected '=' in model1 and I am not sure how to fix it?
model1 <-
lm(Finaldf$Actual Sales ~ data = Finaldf[,c(4,5,7:63)])