I'm running a model using rpart, which ends up actually abandoning one of the main independent variables in its final tree. Is there a way to force usage of that variable?
model <- rpart(dependent ~ desiredforcevar + var2 + var3, method="class", data=df_smote)