vascr_make_panel: Combine multiple vascr plots into a single panel

View source: R/ecis_graphics.R

vascr_make_panelR Documentation

Combine multiple vascr plots into a single panel

Description

Combine multiple vascr plots into a single panel

Usage

vascr_make_panel(..., plots = NULL, legend_from_index = 1, ncols = 1)

Arguments

...

The plots that need to be combined

plots

A vector of plots, if not available in ... format

legend_from_index

Which plot in the list to clone the legend from

ncols

Number of colums

Value

A panel with multiple plots on it

Examples

p1 = growth.df %>% vascr_subset(unit = "Rb") %>% vascr_plot_line()
p2 = growth.df %>% vascr_subset(unit = "Cm") %>% vascr_plot_line()

vascr_make_panel(p1, p2)


JamesHucklesby/vascr documentation built on April 30, 2024, 8:33 a.m.