You can use grid.arrange()
in the gridExtra package like this:
grid.arrange(p1, p2)
More Related Contents:
- ggplot2 line chart gives “geom_path: Each group consist of only one observation. Do you need to adjust the group aesthetic?”
- How to use an image as a point in ggplot?
- Construct a manual legend for a complicated plot
- How to put labels over geom_bar in R with ggplot2
- Plot multiple lines in one graph [duplicate]
- Adding minor tick marks to the x axis in ggplot2 (with no labels)
- How do I change the formatting of numbers on an axis with ggplot? [duplicate]
- ggplot2 heatmap with colors for ranged values
- Explain ggplot2 warning: “Removed k rows containing missing values”
- Place a border around points
- draw the sum value above the stacked bar in ggplot2
- R: ggplot2, can I set the plot title to wrap around and shrink the text to fit the plot?
- Displaying a greater than or equal sign
- ggplot2 shade area under density curve by group
- Modifying fonts in ggplot2
- How to add frequency count labels to the bars in a bar graph using ggplot2? [duplicate]
- How to italicize part (one or two words) of an axis title
- Group data and plot multiple lines
- How to add multiple captions in ggplot2 outside of the main graph area
- Add secondary X axis labels to ggplot with one X axis
- Change the default colour palette in ggplot
- ggplot geom_point() with colors based on specific, discrete values
- Combining `expression()` with `\n`
- Remove facet_wrap labels completely
- How to label a barplot bar with positive and negative bars with ggplot2
- How to automatically adjust the width of each facet for facet_wrap?
- Is it possible to jitter two ggplot geoms in the same way?
- How to change stacking order in stacked bar chart in R?
- What does the error “arguments imply differing number of rows: x, y” mean?
- Change the position of the strip label in ggplot from the top to the bottom?