Tried running this code multiple different times and in different ways but still getting error.
library(caret)
model_multinom <- train(
Group ~ GPA + GMAT,
data = train_data,
method = "multinom",
trControl = trainControl(method = "none"),
preProcess = c("center", "scale"),
na.action = na.omit
)
# Error: wrong model type for regression