My data set contains few varibales which I converted to factor as I wanted them to be in that format. To start with, I wanted to check the importance of each variable and check for multicollinearity. But when I run code, I get NA values for all those factor variables.
Does vif doesn't work for categorical variables?