1

How do you add a new row to a data frame named my_data with values "Alice" and 28 for columns Name and Age?

Correct Answer: my_data <- add_row(my_data, Name = "Alice", Age = 28)

Make the most of this question

This page focuses on one R Programming MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

R Programming MCQs MCQ: How do you add a new row to a data frame named my_data with values "Alice" and 28 for columns Name and Age? | Extra Education