3.
In R, how do you create a list named my_list with three elements: 1, "hello", and TRUE?

5.
How is a vector different from a list in R?

6.
In R, how is a matrix initialized with values 1 to 9 arranged in three rows?

7.
How do you create a factor in R named color with levels "red", "green", and "blue"?

9.
In R, how do you create a named list with elements "apple", "orange", and "banana"?

Read More Section(Data Structures in R Programming)

Each Section contains maximum 100 MCQs question on Data Structures in R Programming. To get more questions visit other sections.