1.

Which of the following will add the title “R language” to the graph?(a) titleAdd( “R language”)(b) title( “R language”)(c) titleBar( “R language”)(d) var(x, na.rm=TRUE)This question was posed to me during an online interview.This key question is from Commands topic in portion Commands, Packages, Visualizing Data and Linear Regression of R Programming

Answer» RIGHT OPTION is (b) title( “R language”)

The explanation is: This function can be used to ADD LABELS to a plot.


Discussion

No Comment Found

Related InterviewSolutions