Data Visualization using R
----------------------------------
1. In the plot, to add label to the horizontal axis the variable to be configured is- xlab
2. Scatterplot Matrix is an example of __________ type of visualization.- Multivariate Visualization
3. graphics,ggplot2 packages qualify for _________________ visualization packes
4. Which command in R, lists the available Datasets in R? -data()
5. Histograms , Density Plots are examples of which type of visualization - mutivariate visualization x,
6. Histogram is mainly used as visual representation of - distribution
7. In case of the plot, which parameter decides whether the plot should be line or points or both? - type
8. The vertical axis label is provided by the parameter - ylab
9. How can we find the different parameters available -par()
10. Which parameter in R helps to decide the number of bins which we want to manually override -breaks
11. Which parameter decides the line type & plot symbol respectively - ich & pty
12. Barchart represents visual display of ____________________ of category of categorical variable
-frequency
13. If one would like to visualize 6 graphs in single view with graphs scaling in row wise fashion (2 rows) -
par(mfrow=c(2,3))
14. Which parameter could be used to convert stacked barplot into grouped bar plot - beside =True
15. Customizing the way your graphs could be arranged can be configured using - layout()
16. Which parameter is helpful to swap the chart from x-axis to y-axis -horiz=True
17. Changing the font size of the axis labels could be accomplished using the following font -font.axis
18. Which parameter removed the X & Y axis - axes=F
19. Which plot would be applicable for summarizing the value of numeric variable - boxplot
20. The width of line can be changed by -iwd
21. Stratified boxplots are useful for examining the relationship between a categorical variable and a
numeric variable. -True
22. col.main=4, will change size of the font F
23. Which command allows to place the text within the graph addtext wv textline W text
24. Which text feature allows the text to written along the margin of the graph - mtext
25. While adding text to graph, adj=0 refers to - text will start at mentioned posiotin
26. In lattice,y~x | A*B refers to - Display the relationship between numeric variables y and x separately for
every combination of factor A and B levels
27. In lattice, ~x|A refers to - display numeric variable x for each level of factor A
28. Lattice package supports the generation of trellis graphs (graphs that display a variable or the
relationship between variables, conditioned on one or more other variables) - True
29. Which of this is limitation of lattice plots- all
30. What does gg in ggplot2 refer to grammer of graphics
31. In multifaceted plot, how many rows will be formed when facets is mentioned as facets=.~drv - always
1 row
32. In multifaceted plot, how many columns will be formed when facets is mentioned as facets=.~drv -
always 1 col x,
33. In multifaceted plot, how many columns will be formed when facets is mentioned as facets=drv~. - 3
columns x,(value of drv -1) cols x,
34. Aesthetics in ggplot2 refers to - size,shape,color w , points,lines x,size,points,lines x,size,line,color
35. Factors represent the subset of the data and they should be properly labelled - True
36. The grey zone around the geom("smooth") line refers to -95%
37. Using ggplot2 for multifaceted diagram, the deciding variable on the number of rows or columns is - .
(decimal)
38. ggplot2 requires the data to be in -dataframe format
39. Geometric (geom) in ggplot2 refers to - points,lines
40. ggplot2 allows to add features layer by layer T
41. In ggplot2, which function decides the object printing - geom_point()
42. The functions which assist in labelling of the functions is -all
43. Which feature in R allows to add new graph on top another existing graph? padup w
44. Which argument helps in changing the size of plotting characters - cex
45. Title of the plot is provided by the variable -main
46. To reset the grid to normal layout, after displaying multiple charts in single view could be obtained by
layout
47. scatterplot in lattice is represented by - scplot x,