Learn R Programming

xpose.xtras (version 0.0.2)

grab_xpose_plot: Grab processed xpose_plot

Description

This function is very simple and unlikely to capture every possible situation. Paginated plots are not supported.

This is helpful for working with xpose plots in patchwork or ggpubr functions.

Usage

grab_xpose_plot(plot)

Value

Grob or list of grobs

Arguments

plot

<xpose_plot> or list thereof

Examples

Run this code

single_plot <- xpdb_x %>%
eta_vs_catcov(etavar = ETA1) %>%
grab_xpose_plot()

listof_plots <- xpdb_x %>%
eta_vs_catcov(etavar = c(ETA1,ETA3)) %>%
grab_xpose_plot()

Run the code above in your browser using DataLab