InterviewSolution
Saved Bookmarks
| 1. |
legendTest |
|
Answer» Response: Correct answer is Option b – bwplot() Bwplot() is the Box and Whisker plot used for numerical VARIABLES. This is part of lattice PACKAGE in R. Below is an example of a box and whisker plot using the singer dataset. library(lattice) require(stats) #bwplot bwplot(voice.part ~ height, DATA=singer, xlab="Height (inches)") plot() is used for generic x-y plotting. xyplot() PRODUCES bivariate scatterplots or time-series plots. #xyplot ## Tonga Trench Earthquakes Depth <- equal.count(quakes$depth, number=8, overlap=.1) xyplot(lat ~ LONG | Depth, data = quakes)dotplot() produces Cleveland dot plots. |
|