Hello, I have a data set known as GBM. It is a glioblastoma data set comprised of 30 predictors.
I would like to run logistic regression analysis on it to develop the best model from the predictors to be able to predict survival time.
While I am implementing the model, I am getting an error saying that my y values are out of bounds. In my data set, survival_time will be the response. I need to convert this set of values to binary. where any value below 100 is set to 0 and any value above 100 is 1.
How do I go about implementing this?
I've just picked up R and am pretty new to the software, so I am sorry in advance for any trivial questions.