1

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

Correct Answer: my_data$Height <- c(160, 170, 155)

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: In R, how do you add a new column named Height to a data frame named my_data? | Extra Education