$ operator is invalid for atomic vectors in the logistic regression analysis

I am doing a logistic regression analysis with an ordinal predictor variable with 3 subcategories. I fitted the model as:

csc3.model<-(glm(Churn~csc3, family="binomial"))

Where Churn is the dependent variable and csc3 is the ordinal variable. Then, I want to calculate the confidence intervals for the coefficients by using:


I receive the error message: "$ operator is invalid for atomic vectors". The logistic model "csc3" is recognized as a vector in R. I have searched the literature, and I do not find the way to fix this issue. Please, advice. Thanks.

Shouldn't the call be

1 Like

Yes, you are absolutely right. I missed it. The issue is solved. Thank you!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.