Why do we factorize variables in R ? What is the benefit of doing so?



I just want to know what is the benifit of using factor () function ?
Why do we factorize the variables ?

@kunal @shuvayan Hello Sir…Can you help me with this silly doubt of mine.


@Rohit_Nair - It helps in creating the fixed number of categories in a variable.

for more information you can refer to this topic

Hope this helps!



Yes…i got the point.Thanks for clearing my doubt :slight_smile: