Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

How R creates levels of a character variable?

$
0
0

@harry wrote:

I have seen that whenever there is a character variable in the data, R divides that variable into levels and called a factor variable.I want to know how R creates that variable into different levels.

for example I have a variable employee size, It can take three values large,medium,small and R give them as level 1,2,3. I want to know how R give these variable as 1,2,3.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles