grab_xpose_plot: Grab processed 'xpose_plot'

View source: R/xtra_plots.R

grab_xpose_plotR Documentation

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)

Arguments

plot

<xpose_plot> or list thereof

Value

Grob or list of grobs

Examples


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()


xpose.xtras documentation built on April 4, 2025, 2:13 a.m.