Vidyalelo
R Programming · Q42

Data Visualization with ggplot2

Programming · R Programming · question 42

Q42

Which of the following code drop the ith and jth column?

A.
new <- old[-n,]
B.
new <- old[,-n]
C.
new <- old[,-c(i,j)]
Answer
D.
new <- subset(old,logical)

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board