I'm new to R language. While come across some pilot projects, i struck at this below question. please help me to solve this.
Question : * Create a factor color of 3 colors (Red/Green/Blue).
- Find the number of levels and print it.
code i made :
color <- factor(c("Red","Green","Blue")