I am attempting to follow thisn step-by-step guide in order to create a prediction from my dataset. https://www.statology.org/predict-in-r-multiple-regression/. However, when i print these following lines of code I get thousands of output when I only want one.
model <- lm(Regresjon$Days~Regresjon$Age+Regresjon$Month)
summary(model)
new <- data.frame(Age=c(50), Month=c(250))
predict(model, newdata=new)
All data is numerical. Any tips?