addRightMargPlot: add a marginal plot to the right side of another plot

View source: R/ggMarginal_Hist2D.R

addRightMargPlotR Documentation

add a marginal plot to the right side of another plot

Description

Function to add a marginal plot to the right of another plot.

Usage

addRightMargPlot(ggMargGrob, right, size)

Arguments

ggMargGrob

- plot grob to add marginal plot to

right

- marginal plot to add

size

- relative width of main plot to marginal plot

Details

Copied from ggExtra. Created by Dean Attali ("daattali@gmail.com").


wStockhausen/wtsPlots documentation built on July 19, 2023, 8:15 p.m.