0

Whenever I run the following code, I get the aforementioned error.

logit.fit1 <- glm(Closed_Account~., family = "binomial", data = df_train)
logit.AICStep <- step(logit.fit1, direction = "both")

Error in length(obj) : class name too long in 'length'

How can I solve this issue?

  • 1
    Very likely a duplicate of https://stackoverflow.com/questions/55342788/error-in-lengthobj-class-name-too-long-in-length In the second line, try replacing `step` with `stats::step` – Ben Bolker Apr 10 '22 at 18:20

0 Answers0