max_height: Get the maximal width/length of a list of grobs

View source: R/facet-.R

max_heightR Documentation

Get the maximal width/length of a list of grobs

Description

Get the maximal width/length of a list of grobs

Usage

max_height(grobs, value_only = FALSE)

max_width(grobs, value_only = FALSE)

Arguments

grobs

A list of grobs

value_only

Should the return value be a simple numeric vector giving the maximum in cm

Value

The largest value. measured in cm as a unit object or a numeric vector depending on value_only


ggplot2 documentation built on June 22, 2024, 11:35 a.m.