I was trying to extract the values in Categorical Variable Gender in R but it is returning null
Kindly help me out with this.
Do one thing,You have to 1st convert the Gender to Factor.
data$Gender <- as.factor(data$Gender)
after that try
Check now, It will give you result
Nope Still the same result
you need to write this :
Thank You Hunaid