I have a section of code that until today was working fine. Then I tried to test my code and it broke right away.
X_train <- model.matrix(SALE_PRC∼., miami_train)[, -1]
y_train <- miami_train$SALE_PRC
X_test <- model.matrix(SALE_PRC∼., miami_test)[, -1]
y_test <- miami_test$SALE_PRC
The problem is that it says that there is an unexpected tilde symbol in the code but that is exactly where it is supposed to go. Please help