I have added three interaction terms to a regression. I have an error saying
Error: cannot allocate vector of size 2.6 Gb
Is it possible to increase the memory?
Also is the vector the grid4
variable or the model, full
?
lm(lw~expr*kww + expr*iq + expr*unemployment_years, train60) -> full
grid4 <- train60 %>% data_grid(expr, kww, iq, unemployment_years) %>% add_predictions(full)