quartet: Create a 2 by 2 grid pattern of pictures

View source: R/quartet.R

quartetR Documentation

Create a 2 by 2 grid pattern of pictures

Description

'quartet' returns a 2 by 2 grid pattern made up of the four input 'grid::grob' pictures: 'p', 'q', 'r' and 's'. In the final grid 'p' is in the top-left position, 'q' is in the top-right position, 'r' is in the bottom-left position and 's' is in the top-right position.

Usage

quartet(p, q, r, s)

Arguments

p

A 'grid::grob' for the top-left position

q

A 'grid::grob' for the top-right position

r

A 'grid::grob' for the bottom-left position

s

A 'grid::grob' for the bottom-right position

Value

A 'grid::grob' made up of the four input pictures arranged in a 2 by 2 grid pattern.


MHenderson/funcgeo documentation built on April 7, 2024, 2:52 a.m.