TCS Ievolve competncy ID - 5337 - Data Science
E0- Fresco Play Hands on - R basics - 1 coding Factors and Levels
Ievolve course ID - 55101
question -
1. Create a vector variable with the values "yes",
"no", "yes", "maybe".
2. Display the levels in this variable
2. Display the levels in this variable
answer -
X = factor(c(“yes”,
“no”, “yes”, “maybe”))
Levels(x)
Levels(x)
0 Comments