12.
In R, what is the purpose of the names() function?

15.
In R, how do you add a new column named Height to a data frame named my_data?

16.
How do you create a character vector with the elements "apple", "orange", and "banana" in R?

18.
In R, how do you create a data frame named my_df with columns Name and Age?

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.