I'm trying to balance my data in which the majority class has proportion of 99% while the rare class has 1%. My response variable is binary and my independent variables are both binary, integer and categorical variables.
I'm using ROSE function of ROSE package but I am getting the error below: "Error in rose.sampl(n, N, p, ind.majo, majoY, ind.mino, minoY, y, classy, : The current implementation of ROSE handles only continuous and categorical variables."
I understand the error is because of my independent variables but I could not figure out what the main reason for this error is and how I can solve it. Do you have any experience with such an error?