I am very new to R Studio so if this is basic, I apologize. I loaded the appropriate libraries and I am trying to run a decision tree (tree function) but am getting this error message.
I have spent hours on google but can't find anything helpful. Can someone point me in the right direction?