I am adding the screenshot of the error, someone kindly helps.
What is your outcome variable in the model?
My suspicion is that you meant to write
as.factor(training_data) (lowercase t ) instead of
as.factor(Training_data) (uppercase T) in your formula. The first refers to a single column in your dataframe while the latter refers to the whole data frame thus giving an error.
thank you so much, solved.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.