I found caret package in R is very helpful to see the importance variables for modeling. But, i have all categorical variables in my dataset, in this case 'varImp' command returns variable importance for each label of the factor variables. i just want to determine the important distinct variables list, not with the label.
library(caret)
logit <- glm(Life.Insurance.Owner~., data = train, family = 'binomial')
summary(logit)
varImp(logit,scale=FALSE)