1.

Which of the following is the initial function used to create a bubble chart natively in R?(a) init()(b) chart(bubble)(c) symbols()(d) bchart()This question was addressed to me during an interview.My doubt is from Enhanced JavaScript with R topic in chapter Sockets of JavaScript

Answer»

Right answer is (C) symbols()

Easy explanation: symbols() function DRAWS symbols on a plot. One of six symbols; circles, squares, rectangles, stars, thermometers, and BOXPLOTS, can be plotted at a specified SET of X and y coordinates. The method symbols() is used to create a bubble chart natively in R.



Discussion

No Comment Found

Related InterviewSolutions