Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
BI and Visualization
→
Data Visualization in R in BI and Visualization
→
Provide 3 differences between ggplot2 and lattice...
1.
Provide 3 differences between ggplot2 and lattice packages?
Answer»
Ggplot2 package
Lattice package
It uses
COUNTS
, not percentages by
default.
It
PLOTS
the facets starting from top-left.
It plots the facets starting from the bottom-left.
Ggplot2 orders facets in the opposite
direction
COMPARED
to that in lattice
Sorting each facet
SEPARATELY
is not possible in ggplot2
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
legendTest
legendTest <- ggplot(data=PlantGrowth, aes(x=group, y=weight, fill=group)) + geom_boxplot()
library(ggplot2)
Please consider built-in “PlantGrowth” dataset in R. Goal is to remove the legend which is shown in the box plot below (legend for a group with 3 values). Select all correct options that can be used to remove the legend in the boxplot.
What is chartjunk? Explain three common types of chartjunk.
What type of charts are to be considered when we are trying to demonstrate “relationship” between variables/parameters?
Can plots be exported as image files or other file formats in R? Explain briefly.
What is a time series plot? Explain using an example.
When will you use a histogram and when will you use a bar chart in R? Explain with an example by leveraging R package.
What is a scatter plot? Explain with an example of how to create one scatter plot using R libraries.
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies